home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_3_QH Main3.txt < prev    next >
Text File  |  1995-09-30  |  509KB  |  9,334 lines

  1. # near model CODE resource
  2. # jump table entries: 57352-57459 (108 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  E008                     lsr        D0.b, 8
  5. 00000004  0000 5ECE                ori.b      D0, 0xCE
  6. fn00000008:
  7. 00000008  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  8. 0000000C  266F 0028                movea.l    A3, [A7 + 0x28]
  9. 00000010  2E2F 002C                move.l     D7, [A7 + 0x2C]
  10. 00000014  2C6F 0030                movea.l    A6, [A7 + 0x30]
  11. 00000018  286F 0034                movea.l    A4, [A7 + 0x34]
  12. 0000001C  95CA                     sub.l      A2, A2
  13. 0000001E  7C01                     moveq.l    D6, 0x01
  14. 00000020  204B                     movea.l    A0, A3
  15. 00000022  70FF                     moveq.l    D0, 0xFFFFFFFF
  16. label00000024:
  17. 00000024  5280                     addq.l     D0, 1
  18. 00000026  4A18                     tst.b      [A0]+
  19. 00000028  66FA                     bne        -0x4 /* 00000024 */
  20. 0000002A  2F00                     move.l     -[A7], D0
  21. 0000002C  2F0B                     move.l     -[A7], A3
  22. 0000002E  4EBA 01CA                jsr        [PC + 0x1CA /* 000001FA */]
  23. 00000032  3A00                     move.w     D5, D0
  24. 00000034  4EAD DB08                jsr        [A5 - 0x24F8]
  25. 00000038  3600                     move.w     D3, D0
  26. 0000003A  4A87                     tst.l      D7
  27. 0000003C  504F                     addq.w     A7, 8
  28. 0000003E  6704                     beq        +0x6 /* 00000044 */
  29. 00000040  2047                     movea.l    A0, D7
  30. 00000042  4290                     clr.l      [A0]
  31. label00000044:
  32. 00000044  200E                     move.l     D0, A6
  33. 00000046  6702                     beq        +0x4 /* 0000004A */
  34. 00000048  4296                     clr.l      [A6]
  35. label0000004A:
  36. 0000004A  200C                     move.l     D0, A4
  37. 0000004C  6702                     beq        +0x4 /* 00000050 */
  38. 0000004E  4294                     clr.l      [A4]
  39. label00000050:
  40. 00000050  7000                     moveq.l    D0, 0x00
  41. 00000052  3005                     move.w     D0, D5
  42. 00000054  2606                     move.l     D3, D6
  43. 00000056  5286                     addq.l     D6, 1
  44. 00000058  7410                     moveq.l    D2, 0x10
  45. 0000005A  E5AB                     lsl        D3, D2
  46. 0000005C  8680                     or.l       D3, D0
  47. 0000005E  2F03                     move.l     -[A7], D3
  48. 00000060  4878 0008                push.l     0x8
  49. 00000064  4EAD DB26                jsr        [A5 - 0x24DA]
  50. 00000068  2448                     movea.l    A2, A0
  51. 0000006A  2008                     move.l     D0, A0
  52. 0000006C  504F                     addq.w     A7, 8
  53. 0000006E  6714                     beq        +0x16 /* 00000084 */
  54. 00000070  2F0B                     move.l     -[A7], A3
  55. 00000072  2052                     movea.l    A0, [A2]
  56. 00000074  4868 0008                pea.l      [A0 + 0x8]
  57. 00000078  4EAD DE10                jsr        [A5 - 0x21F0]
  58. 0000007C  2800                     move.l     D4, D0
  59. 0000007E  4A84                     tst.l      D4
  60. 00000080  504F                     addq.w     A7, 8
  61. 00000082  66CC                     bne        -0x32 /* 00000050 */
  62. label00000084:
  63. 00000084  200A                     move.l     D0, A2
  64. 00000086  6614                     bne        +0x16 /* 0000009C */
  65. 00000088  7000                     moveq.l    D0, 0x00
  66. 0000008A  3005                     move.w     D0, D5
  67. 0000008C  2600                     move.l     D3, D0
  68. 0000008E  2F00                     move.l     -[A7], D0
  69. 00000090  4878 0008                push.l     0x8
  70. 00000094  4EAD DB26                jsr        [A5 - 0x24DA]
  71. 00000098  2448                     movea.l    A2, A0
  72. 0000009A  504F                     addq.w     A7, 8
  73. label0000009C:
  74. 0000009C  200A                     move.l     D0, A2
  75. 0000009E  6720                     beq        +0x22 /* 000000C0 */
  76. 000000A0  2652                     movea.l    A3, [A2]
  77. 000000A2  4A87                     tst.l      D7
  78. 000000A4  6704                     beq        +0x6 /* 000000AA */
  79. 000000A6  2047                     movea.l    A0, D7
  80. 000000A8  2093                     move.l     [A0], [A3]
  81. label000000AA:
  82. 000000AA  200E                     move.l     D0, A6
  83. 000000AC  6704                     beq        +0x6 /* 000000B2 */
  84. 000000AE  2CAB 0004                move.l     [A6], [A3 + 0x4]
  85. label000000B2:
  86. 000000B2  200C                     move.l     D0, A4
  87. 000000B4  6702                     beq        +0x4 /* 000000B8 */
  88. 000000B6  2883                     move.l     [A4], D3
  89. label000000B8:
  90. 000000B8  7001                     moveq.l    D0, 0x01
  91. 000000BA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  92. 000000BE  4E75                     rts
  93. label000000C0:
  94. 000000C0  7000                     moveq.l    D0, 0x00
  95. 000000C2  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  96. 000000C6  4E75                     rts
  97. 000000C8  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  98. 000000CC  4FEF FE00                lea.l      A7, [A7 - 0x200]
  99. 000000D0  2C6F 0220                movea.l    A6, [A7 + 0x220]
  100. 000000D4  286F 0224                movea.l    A4, [A7 + 0x224]
  101. 000000D8  266F 0228                movea.l    A3, [A7 + 0x228]
  102. 000000DC  244E                     movea.l    A2, A6
  103. 000000DE  1F3C 0040                move.b     -[A7], 0x40 /* '@' */
  104. 000000E2  4878 0100                push.l     0x100
  105. 000000E6  486F 0006                pea.l      [A7 + 0x6]
  106. 000000EA  486F 010A                pea.l      [A7 + 0x10A]
  107. 000000EE  2F2F 022A                move.l     -[A7], [A7 + 0x22A]
  108. 000000F2  4EAD DE68                jsr        [A5 - 0x2198]
  109. 000000F6  1F3C 003E                move.b     -[A7], 0x3E /* '>' */
  110. 000000FA  4878 0100                push.l     0x100
  111. 000000FE  2F0C                     move.l     -[A7], A4
  112. 00000100  2F0B                     move.l     -[A7], A3
  113. 00000102  486F 0020                pea.l      [A7 + 0x20]
  114. 00000106  4EAD DE68                jsr        [A5 - 0x2198]
  115. 0000010A  4A14                     tst.b      [A4]
  116. 0000010C  4FEF 0024                lea.l      A7, [A7 + 0x24]
  117. 00000110  670E                     beq        +0x10 /* 00000120 */
  118. 00000112  204E                     movea.l    A0, A6
  119. 00000114  43EF 0100                lea.l      A1, [A7 + 0x100]
  120. 00000118  2008                     move.l     D0, A0
  121. label0000011A:
  122. 0000011A  10D9                     move.b     [A0]+, [A1]+
  123. 0000011C  66FC                     bne        -0x2 /* 0000011A */
  124. 0000011E  6018                     bra        +0x1A /* 00000138 */
  125. label00000120:
  126. 00000120  1F3C 003E                move.b     -[A7], 0x3E /* '>' */
  127. 00000124  4878 0100                push.l     0x100
  128. 00000128  2F0C                     move.l     -[A7], A4
  129. 0000012A  2F0E                     move.l     -[A7], A6
  130. 0000012C  486F 010E                pea.l      [A7 + 0x10E]
  131. 00000130  4EAD DE68                jsr        [A5 - 0x2198]
  132. 00000134  4FEF 0012                lea.l      A7, [A7 + 0x12]
  133. label00000138:
  134. 00000138  4AAF 0218                tst.l      [A7 + 0x218]
  135. 0000013C  670C                     beq        +0xE /* 0000014A */
  136. 0000013E  16BC 003A                move.b     [A3], 0x3A /* ':' */
  137. 00000142  422B 0001                clr.b      [A3 + 0x1]
  138. 00000146  6002                     bra        +0x4 /* 0000014A */
  139. label00000148:
  140. 00000148  528A                     addq.l     A2, 1
  141. label0000014A:
  142. 0000014A  4A12                     tst.b      [A2]
  143. 0000014C  6712                     beq        +0x14 /* 00000160 */
  144. 0000014E  7000                     moveq.l    D0, 0x00
  145. 00000150  1012                     move.b     D0, [A2]
  146. 00000152  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  147. 00000156  1030 0000                move.b     D0, [A0 + D0.w]
  148. 0000015A  7244                     moveq.l    D1, 0x44
  149. 0000015C  C081                     and.l      D0, D1
  150. 0000015E  66E8                     bne        -0x16 /* 00000148 */
  151. label00000160:
  152. 00000160  204A                     movea.l    A0, A2
  153. 00000162  70FF                     moveq.l    D0, 0xFFFFFFFF
  154. label00000164:
  155. 00000164  5280                     addq.l     D0, 1
  156. 00000166  4A18                     tst.b      [A0]+
  157. 00000168  66FA                     bne        -0x4 /* 00000164 */
  158. 0000016A  2600                     move.l     D3, D0
  159. 0000016C  6002                     bra        +0x4 /* 00000170 */
  160. label0000016E:
  161. 0000016E  5383                     subq.l     D3, 1
  162. label00000170:
  163. 00000170  4A83                     tst.l      D3
  164. 00000172  6718                     beq        +0x1A /* 0000018C */
  165. 00000174  2003                     move.l     D0, D3
  166. 00000176  5380                     subq.l     D0, 1
  167. 00000178  7200                     moveq.l    D1, 0x00
  168. 0000017A  1232 0800                move.b     D1, [A2 + D0]
  169. 0000017E  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  170. 00000182  1230 1000                move.b     D1, [A0 + D1.w]
  171. 00000186  7044                     moveq.l    D0, 0x44
  172. 00000188  C280                     and.l      D1, D0
  173. 0000018A  66E2                     bne        -0x1C /* 0000016E */
  174. label0000018C:
  175. 0000018C  4232 3800                clr.b      [A2 + D3]
  176. 00000190  204A                     movea.l    A0, A2
  177. 00000192  4FEF 0200                lea.l      A7, [A7 + 0x200]
  178. 00000196  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  179. 0000019A  4E75                     rts
  180. 0000019C  48E7 1C00                movem.l    -[A7], D3,D4,D5
  181. 000001A0  7A00                     moveq.l    D5, 0x00
  182. 000001A2  6042                     bra        +0x44 /* 000001E6 */
  183. label000001A4:
  184. 000001A4  7600                     moveq.l    D3, 0x00
  185. 000001A6  3605                     move.w     D3, D5
  186. 000001A8  E18B                     lsl        D3, 8
  187. 000001AA  7800                     moveq.l    D4, 0x00
  188. 000001AC  601E                     bra        +0x20 /* 000001CC */
  189. label000001AE:
  190. 000001AE  0803 000F                btst.b     D3, 0xF
  191. 000001B2  6608                     bne        +0xA /* 000001BC */
  192. 000001B4  7000                     moveq.l    D0, 0x00
  193. 000001B6  3003                     move.w     D0, D3
  194. 000001B8  D080                     add.l      D0, D0
  195. 000001BA  600C                     bra        +0xE /* 000001C8 */
  196. label000001BC:
  197. 000001BC  7000                     moveq.l    D0, 0x00
  198. 000001BE  3003                     move.w     D0, D3
  199. 000001C0  D080                     add.l      D0, D0
  200. 000001C2  0A80 0000 1021           xori.l     D0, 0x1021
  201. label000001C8:
  202. 000001C8  3600                     move.w     D3, D0
  203. 000001CA  5244                     addq.w     D4, 1
  204. label000001CC:
  205. 000001CC  7000                     moveq.l    D0, 0x00
  206. 000001CE  3004                     move.w     D0, D4
  207. 000001D0  7208                     moveq.l    D1, 0x08
  208. 000001D2  B081                     cmp.l      D0, D1
  209. 000001D4  6DD8                     blt        -0x26 /* 000001AE */
  210. 000001D6  7000                     moveq.l    D0, 0x00
  211. 000001D8  3005                     move.w     D0, D5
  212. 000001DA  D080                     add.l      D0, D0
  213. 000001DC  41ED 83E6                lea.l      A0, [A5 - 0x7C1A]
  214. 000001E0  3183 0800                move.w     [A0 + D0], D3
  215. 000001E4  5245                     addq.w     D5, 1
  216. label000001E6:
  217. 000001E6  7000                     moveq.l    D0, 0x00
  218. 000001E8  3005                     move.w     D0, D5
  219. 000001EA  0C80 0000 0100           cmpi.l     D0, 0x100
  220. 000001F0  6DB2                     blt        -0x4C /* 000001A4 */
  221. 000001F2  7000                     moveq.l    D0, 0x00
  222. 000001F4  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  223. 000001F8  4E75                     rts
  224. fn000001FA:
  225. 000001FA  48E7 0C00                movem.l    -[A7], D4,D5
  226. 000001FE  2A2F 0010                move.l     D5, [A7 + 0x10]
  227. 00000202  226F 000C                movea.l    A1, [A7 + 0xC]
  228. 00000206  7400                     moveq.l    D2, 0x00
  229. 00000208  602E                     bra        +0x30 /* 00000238 */
  230. label0000020A:
  231. 0000020A  1819                     move.b     D4, [A1]+
  232. 0000020C  7000                     moveq.l    D0, 0x00
  233. 0000020E  1004                     move.b     D0, D4
  234. 00000210  206D 1984                movea.l    A0, [A5 + 0x1984]
  235. 00000214  7200                     moveq.l    D1, 0x00
  236. 00000216  1230 0000                move.b     D1, [A0 + D0.w]
  237. 0000021A  7000                     moveq.l    D0, 0x00
  238. 0000021C  3002                     move.w     D0, D2
  239. 0000021E  E080                     asr        D0, 8
  240. 00000220  B380                     xor.l      D0, D1
  241. 00000222  D080                     add.l      D0, D0
  242. 00000224  41ED 83E6                lea.l      A0, [A5 - 0x7C1A]
  243. 00000228  7200                     moveq.l    D1, 0x00
  244. 0000022A  3230 0800                move.w     D1, [A0 + D0]
  245. 0000022E  7000                     moveq.l    D0, 0x00
  246. 00000230  3002                     move.w     D0, D2
  247. 00000232  E188                     lsl        D0, 8
  248. 00000234  B380                     xor.l      D0, D1
  249. 00000236  3400                     move.w     D2, D0
  250. label00000238:
  251. 00000238  2005                     move.l     D0, D5
  252. 0000023A  5385                     subq.l     D5, 1
  253. 0000023C  4A80                     tst.l      D0
  254. 0000023E  66CA                     bne        -0x34 /* 0000020A */
  255. 00000240  3002                     move.w     D0, D2
  256. 00000242  4CDF 0030                movem.l    D4,D5, [A7]+
  257. 00000246  4E75                     rts
  258. 00000248  48E7 1030                movem.l    -[A7], D3,A2,A3
  259. 0000024C  4FEF FE94                lea.l      A7, [A7 - 0x16C]
  260. 00000250  266F 0186                movea.l    A3, [A7 + 0x186]
  261. 00000254  246F 018A                movea.l    A2, [A7 + 0x18A]
  262. 00000258  41ED 86E2                lea.l      A0, [A5 - 0x791E]
  263. 0000025C  43EF 0100                lea.l      A1, [A7 + 0x100]
  264. 00000260  701A                     moveq.l    D0, 0x1A
  265. label00000262:
  266. 00000262  22D8                     move.l     [A1]+, [A0]+
  267. 00000264  51C8 FFFC                dbf        D0, -0x6 /* 00000262 */
  268. 00000268  7600                     moveq.l    D3, 0x00
  269. 0000026A  36AF 0180                move.w     [A3], [A7 + 0x180]
  270. 0000026E  24AF 0182                move.l     [A2], [A7 + 0x182]
  271. 00000272  206F 017C                movea.l    A0, [A7 + 0x17C]
  272. 00000276  4A10                     tst.b      [A0]
  273. 00000278  660C                     bne        +0xE /* 00000286 */
  274. 0000027A  7000                     moveq.l    D0, 0x00
  275. 0000027C  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  276. 00000280  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  277. 00000284  4E75                     rts
  278. label00000286:
  279. 00000286  0C10 003A                cmpi.b     [A0], 0x3A /* ':' */
  280. 0000028A  6606                     bne        +0x8 /* 00000292 */
  281. 0000028C  52AF 017C                addq.l     [A7 + 0x17C], 1
  282. 00000290  6020                     bra        +0x22 /* 000002B2 */
  283. label00000292:
  284. 00000292  2F0B                     move.l     -[A7], A3
  285. 00000294  486F 0180                pea.l      [A7 + 0x180]
  286. 00000298  4EBA 030E                jsr        [PC + 0x30E /* 000005A8 */]
  287. 0000029C  3600                     move.w     D3, D0
  288. 0000029E  504F                     addq.w     A7, 8
  289. 000002A0  670C                     beq        +0xE /* 000002AE */
  290. 000002A2  3003                     move.w     D0, D3
  291. 000002A4  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  292. 000002A8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  293. 000002AC  4E75                     rts
  294. label000002AE:
  295. 000002AE  7002                     moveq.l    D0, 0x02
  296. 000002B0  2480                     move.l     [A2], D0
  297. label000002B2:
  298. 000002B2  41D7                     lea.l      A0, [A7]
  299. 000002B4  2F48 0112                move.l     [A7 + 0x112], A0
  300. 000002B8  3F53 0116                move.w     [A7 + 0x116], [A3]
  301. 000002BC  2F52 0130                move.l     [A7 + 0x130], [A2]
  302. 000002C0  602C                     bra        +0x2E /* 000002EE */
  303. label000002C2:
  304. 000002C2  486F 017C                pea.l      [A7 + 0x17C]
  305. 000002C6  486F 0004                pea.l      [A7 + 0x4]
  306. 000002CA  4EBA 029C                jsr        [PC + 0x29C /* 00000568 */]
  307. 000002CE  41EF 0108                lea.l      A0, [A7 + 0x108]
  308. 000002D2  7009                     moveq.l    D0, 0x09
  309. 000002D4  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  310. 000002D6  3600                     move.w     D3, D0
  311. 000002D8  504F                     addq.w     A7, 8
  312. 000002DA  6620                     bne        +0x22 /* 000002FC */
  313. 000002DC  102F 011E                move.b     D0, [A7 + 0x11E]
  314. 000002E0  7210                     moveq.l    D1, 0x10
  315. 000002E2  C081                     and.l      D0, D1
  316. 000002E4  6604                     bne        +0x6 /* 000002EA */
  317. 000002E6  7688                     moveq.l    D3, 0xFFFFFF88
  318. 000002E8  6012                     bra        +0x14 /* 000002FC */
  319. label000002EA:
  320. 000002EA  24AF 0130                move.l     [A2], [A7 + 0x130]
  321. label000002EE:
  322. 000002EE  4AAF 017C                tst.l      [A7 + 0x17C]
  323. 000002F2  6708                     beq        +0xA /* 000002FC */
  324. 000002F4  206F 017C                movea.l    A0, [A7 + 0x17C]
  325. 000002F8  4A10                     tst.b      [A0]
  326. 000002FA  66C6                     bne        -0x38 /* 000002C2 */
  327. label000002FC:
  328. 000002FC  3003                     move.w     D0, D3
  329. 000002FE  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  330. 00000302  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  331. 00000306  4E75                     rts
  332. 00000308  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  333. 0000030C  4FEF FE42                lea.l      A7, [A7 - 0x1BE]
  334. 00000310  246F 01D2                movea.l    A2, [A7 + 0x1D2]
  335. 00000314  266F 01D6                movea.l    A3, [A7 + 0x1D6]
  336. 00000318  41ED 8692                lea.l      A0, [A5 - 0x796E]
  337. 0000031C  43EF 016E                lea.l      A1, [A7 + 0x16E]
  338. 00000320  7013                     moveq.l    D0, 0x13
  339. label00000322:
  340. 00000322  22D8                     move.l     [A1]+, [A0]+
  341. 00000324  51C8 FFFC                dbf        D0, -0x6 /* 00000322 */
  342. 00000328  41ED 8626                lea.l      A0, [A5 - 0x79DA]
  343. 0000032C  43EF 0102                lea.l      A1, [A7 + 0x102]
  344. 00000330  701A                     moveq.l    D0, 0x1A
  345. label00000332:
  346. 00000332  22D8                     move.l     [A1]+, [A0]+
  347. 00000334  51C8 FFFC                dbf        D0, -0x6 /* 00000332 */
  348. 00000338  7800                     moveq.l    D4, 0x00
  349. 0000033A  7600                     moveq.l    D3, 0x00
  350. 0000033C  204A                     movea.l    A0, A2
  351. 0000033E  5C88                     addq.l     A0, 6
  352. 00000340  2F48 0180                move.l     [A7 + 0x180], A0
  353. 00000344  422F 0188                clr.b      [A7 + 0x188]
  354. 00000348  302D 8752                move.w     D0, [A5 - 0x78AE]
  355. 0000034C  B052                     cmp.w      D0, [A2]
  356. 0000034E  6638                     bne        +0x3A /* 00000388 */
  357. 00000350  202D B4A4                move.l     D0, [A5 - 0x4B5C]
  358. 00000354  B0AA 0002                cmp.l      D0, [A2 + 0x2]
  359. 00000358  662E                     bne        +0x30 /* 00000388 */
  360. 0000035A  4AAD B4A8                tst.l      [A5 - 0x4B58]
  361. 0000035E  6F28                     ble        +0x2A /* 00000388 */
  362. 00000360  3F6D 8750 0184           move.w     [A7 + 0x184], [A5 - 0x78B0]
  363. 00000366  2F2D B4A8                move.l     -[A7], [A5 - 0x4B58]
  364. 0000036A  2F0B                     move.l     -[A7], A3
  365. 0000036C  486F 0176                pea.l      [A7 + 0x176]
  366. 00000370  4EBA 00B6                jsr        [PC + 0xB6 /* 00000428 */]
  367. 00000374  4A40                     tst.w      D0
  368. 00000376  4FEF 000C                lea.l      A7, [A7 + 0xC]
  369. 0000037A  660C                     bne        +0xE /* 00000388 */
  370. 0000037C  7801                     moveq.l    D4, 0x01
  371. 0000037E  34AD 8750                move.w     [A2], [A5 - 0x78B0]
  372. 00000382  256D B4A8 0002           move.l     [A2 + 0x2], [A5 - 0x4B58]
  373. label00000388:
  374. 00000388  4A84                     tst.l      D4
  375. 0000038A  664E                     bne        +0x50 /* 000003DA */
  376. 0000038C  3B52 8752                move.w     [A5 - 0x78AE], [A2]
  377. 00000390  2B6A 0002 B4A4           move.l     [A5 - 0x4B5C], [A2 + 0x2]
  378. 00000396  3F52 0184                move.w     [A7 + 0x184], [A2]
  379. 0000039A  3F52 0118                move.w     [A7 + 0x118], [A2]
  380. 0000039E  41D7                     lea.l      A0, [A7]
  381. 000003A0  2F48 0114                move.l     [A7 + 0x114], A0
  382. 000003A4  594F                     subq.w     A7, 4
  383. 000003A6  A975                     syscall    TickCount
  384. 000003A8  201F                     move.l     D0, [A7]+
  385. 000003AA  2B40 8758                move.l     [A5 - 0x78A8], D0
  386. 000003AE  2B6F 01DA 8754           move.l     [A5 - 0x78AC], [A7 + 0x1DA]
  387. 000003B4  486A 0002                pea.l      [A2 + 0x2]
  388. 000003B8  486F 0106                pea.l      [A7 + 0x106]
  389. 000003BC  2F0B                     move.l     -[A7], A3
  390. 000003BE  486F 017A                pea.l      [A7 + 0x17A]
  391. 000003C2  4EBA 00C4                jsr        [PC + 0xC4 /* 00000488 */]
  392. 000003C6  3600                     move.w     D3, D0
  393. 000003C8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  394. 000003CC  670C                     beq        +0xE /* 000003DA */
  395. 000003CE  3003                     move.w     D0, D3
  396. 000003D0  4FEF 01BE                lea.l      A7, [A7 + 0x1BE]
  397. 000003D4  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  398. 000003D8  4E75                     rts
  399. label000003DA:
  400. 000003DA  B7EF 0180                cmpa.l     A3, [A7 + 0x180]
  401. 000003DE  660E                     bne        +0x10 /* 000003EE */
  402. 000003E0  204B                     movea.l    A0, A3
  403. 000003E2  43EA 0006                lea.l      A1, [A2 + 0x6]
  404. 000003E6  7000                     moveq.l    D0, 0x00
  405. 000003E8  1013                     move.b     D0, [A3]
  406. 000003EA  5280                     addq.l     D0, 1
  407. 000003EC  A02E                     syscall    BlockMove/BlockMoveData
  408. label000003EE:
  409. 000003EE  4AAD 1326                tst.l      [A5 + 0x1326]
  410. 000003F2  6718                     beq        +0x1A /* 0000040C */
  411. 000003F4  554F                     subq.w     A7, 2
  412. 000003F6  2F0A                     move.l     -[A7], A2
  413. 000003F8  1F3C 0001                move.b     -[A7], 0x1
  414. 000003FC  486F 0108                pea.l      [A7 + 0x108]
  415. 00000400  486F 010D                pea.l      [A7 + 0x10D]
  416. 00000404  700C                     moveq.l    D0, 0x0C
  417. 00000406  A823                     syscall    AliasDispatch
  418. 00000408  301F                     move.w     D0, [A7]+
  419. 0000040A  3600                     move.w     D3, D0
  420. label0000040C:
  421. 0000040C  4A43                     tst.w      D3
  422. 0000040E  660C                     bne        +0xE /* 0000041C */
  423. 00000410  2B6A 0002 B4A8           move.l     [A5 - 0x4B58], [A2 + 0x2]
  424. 00000416  3052                     movea.w    A0, [A2]
  425. 00000418  2B48 874E                move.l     [A5 - 0x78B2], A0
  426. label0000041C:
  427. 0000041C  3003                     move.w     D0, D3
  428. 0000041E  4FEF 01BE                lea.l      A7, [A7 + 0x1BE]
  429. 00000422  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  430. 00000426  4E75                     rts
  431. fn00000428:
  432. 00000428  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  433. 0000042C  246F 0018                movea.l    A2, [A7 + 0x18]
  434. 00000430  286F 001C                movea.l    A4, [A7 + 0x1C]
  435. 00000434  282F 0020                move.l     D4, [A7 + 0x20]
  436. 00000438  7600                     moveq.l    D3, 0x00
  437. 0000043A  200C                     move.l     D0, A4
  438. 0000043C  6738                     beq        +0x3A /* 00000476 */
  439. 0000043E  266A 0012                movea.l    A3, [A2 + 0x12]
  440. 00000442  254C 0012                move.l     [A2 + 0x12], A4
  441. 00000446  2544 0030                move.l     [A2 + 0x30], D4
  442. 0000044A  204A                     movea.l    A0, A2
  443. 0000044C  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  444. 0000044E  3600                     move.w     D3, D0
  445. 00000450  6608                     bne        +0xA /* 0000045A */
  446. 00000452  7000                     moveq.l    D0, 0x00
  447. 00000454  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  448. 00000458  4E75                     rts
  449. label0000045A:
  450. 0000045A  4A43                     tst.w      D3
  451. 0000045C  6714                     beq        +0x16 /* 00000472 */
  452. 0000045E  0C43 FFD5                cmpi.w     D3, 0xFFD5
  453. 00000462  670E                     beq        +0x10 /* 00000472 */
  454. 00000464  0C43 EC78                cmpi.w     D3, 0xEC78
  455. 00000468  6708                     beq        +0xA /* 00000472 */
  456. 0000046A  3003                     move.w     D0, D3
  457. 0000046C  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  458. 00000470  4E75                     rts
  459. label00000472:
  460. 00000472  254B 0012                move.l     [A2 + 0x12], A3
  461. label00000476:
  462. 00000476  2544 0030                move.l     [A2 + 0x30], D4
  463. 0000047A  204A                     movea.l    A0, A2
  464. 0000047C  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  465. 0000047E  3600                     move.w     D3, D0
  466. 00000480  3003                     move.w     D0, D3
  467. 00000482  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  468. 00000486  4E75                     rts
  469. fn00000488:
  470. 00000488  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  471. 0000048C  594F                     subq.w     A7, 4
  472. 0000048E  286F 0020                movea.l    A4, [A7 + 0x20]
  473. 00000492  2C6F 0024                movea.l    A6, [A7 + 0x24]
  474. 00000496  246F 0028                movea.l    A2, [A7 + 0x28]
  475. 0000049A  266F 002C                movea.l    A3, [A7 + 0x2C]
  476. 0000049E  7800                     moveq.l    D4, 0x00
  477. 000004A0  2F13                     move.l     -[A7], [A3]
  478. 000004A2  2F0E                     move.l     -[A7], A6
  479. 000004A4  2F0C                     move.l     -[A7], A4
  480. 000004A6  4EBA FF80                jsr        [PC - 0x80 /* 00000428 */]
  481. 000004AA  3600                     move.w     D3, D0
  482. 000004AC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  483. 000004B0  660A                     bne        +0xC /* 000004BC */
  484. 000004B2  7000                     moveq.l    D0, 0x00
  485. 000004B4  584F                     addq.w     A7, 4
  486. 000004B6  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  487. 000004BA  4E75                     rts
  488. label000004BC:
  489. 000004BC  4A43                     tst.w      D3
  490. 000004BE  6716                     beq        +0x18 /* 000004D6 */
  491. 000004C0  0C43 FFD5                cmpi.w     D3, 0xFFD5
  492. 000004C4  6710                     beq        +0x12 /* 000004D6 */
  493. 000004C6  0C43 EC78                cmpi.w     D3, 0xEC78
  494. 000004CA  670A                     beq        +0xC /* 000004D6 */
  495. 000004CC  3003                     move.w     D0, D3
  496. 000004CE  584F                     addq.w     A7, 4
  497. 000004D0  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  498. 000004D4  4E75                     rts
  499. label000004D6:
  500. 000004D6  4AAD 8758                tst.l      [A5 - 0x78A8]
  501. 000004DA  672E                     beq        +0x30 /* 0000050A */
  502. 000004DC  594F                     subq.w     A7, 4
  503. 000004DE  A975                     syscall    TickCount
  504. 000004E0  201F                     move.l     D0, [A7]+
  505. 000004E2  90AD 8758                sub.l      D0, [A5 - 0x78A8]
  506. 000004E6  723C                     moveq.l    D1, 0x3C
  507. 000004E8  B081                     cmp.l      D0, D1
  508. 000004EA  631E                     bls        +0x20 /* 0000050A */
  509. 000004EC  42AD 8758                clr.l      [A5 - 0x78A8]
  510. 000004F0  3F3C 0004                move.w     -[A7], 0x4
  511. 000004F4  4EAD DDA0                jsr        [A5 - 0x2260]
  512. 000004F8  4AAD 8754                tst.l      [A5 - 0x78AC]
  513. 000004FC  670C                     beq        +0xE /* 0000050A */
  514. 000004FE  2F2C 0012                move.l     -[A7], [A4 + 0x12]
  515. 00000502  206D 8754                movea.l    A0, [A5 - 0x78AC]
  516. 00000506  4E90                     jsr        [A0]
  517. 00000508  584F                     addq.w     A7, 4
  518. label0000050A:
  519. 0000050A  2553 0030                move.l     [A2 + 0x30], [A3]
  520. 0000050E  5244                     addq.w     D4, 1
  521. 00000510  3544 001C                move.w     [A2 + 0x1C], D4
  522. 00000514  204A                     movea.l    A0, A2
  523. 00000516  7009                     moveq.l    D0, 0x09
  524. 00000518  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  525. 0000051A  3600                     move.w     D3, D0
  526. 0000051C  6640                     bne        +0x42 /* 0000055E */
  527. 0000051E  102A 001E                move.b     D0, [A2 + 0x1E]
  528. 00000522  7210                     moveq.l    D1, 0x10
  529. 00000524  C081                     and.l      D0, D1
  530. 00000526  67AE                     beq        -0x50 /* 000004D6 */
  531. 00000528  2EAA 0030                move.l     [A7], [A2 + 0x30]
  532. 0000052C  4857                     pea.l      [A7]
  533. 0000052E  2F0A                     move.l     -[A7], A2
  534. 00000530  2F0E                     move.l     -[A7], A6
  535. 00000532  2F0C                     move.l     -[A7], A4
  536. 00000534  4EBA FF52                jsr        [PC - 0xAE /* 00000488 */]
  537. 00000538  3600                     move.w     D3, D0
  538. 0000053A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  539. 0000053E  660C                     bne        +0xE /* 0000054C */
  540. 00000540  2697                     move.l     [A3], [A7]
  541. 00000542  7000                     moveq.l    D0, 0x00
  542. 00000544  584F                     addq.w     A7, 4
  543. 00000546  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  544. 0000054A  4E75                     rts
  545. label0000054C:
  546. 0000054C  4A43                     tst.w      D3
  547. 0000054E  6786                     beq        -0x78 /* 000004D6 */
  548. 00000550  0C43 FFD5                cmpi.w     D3, 0xFFD5
  549. 00000554  6780                     beq        -0x7E /* 000004D6 */
  550. 00000556  0C43 EC78                cmpi.w     D3, 0xEC78
  551. 0000055A  6700 FF7A                beq        -0x84 /* 000004D6 */
  552. label0000055E:
  553. 0000055E  3003                     move.w     D0, D3
  554. 00000560  584F                     addq.w     A7, 4
  555. 00000562  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  556. 00000566  4E75                     rts
  557. fn00000568:
  558. 00000568  2F0C                     move.l     -[A7], A4
  559. 0000056A  206F 0008                movea.l    A0, [A7 + 0x8]
  560. 0000056E  286F 000C                movea.l    A4, [A7 + 0xC]
  561. 00000572  2254                     movea.l    A1, [A4]
  562. 00000574  4210                     clr.b      [A0]
  563. label00000576:
  564. 00000576  1219                     move.b     D1, [A1]+
  565. 00000578  4A01                     tst.b      D1
  566. 0000057A  6606                     bne        +0x8 /* 00000582 */
  567. 0000057C  4294                     clr.l      [A4]
  568. 0000057E  285F                     movea.l    A4, [A7]+
  569. 00000580  4E75                     rts
  570. label00000582:
  571. 00000582  0C01 003A                cmpi.b     D1, 0x3A /* ':' */
  572. 00000586  671A                     beq        +0x1C /* 000005A2 */
  573. 00000588  7000                     moveq.l    D0, 0x00
  574. 0000058A  1010                     move.b     D0, [A0]
  575. 0000058C  5280                     addq.l     D0, 1
  576. 0000058E  0C80 0000 0100           cmpi.l     D0, 0x100
  577. 00000594  6CE0                     bge        -0x1E /* 00000576 */
  578. 00000596  5210                     addq.b     [A0], 1
  579. 00000598  7000                     moveq.l    D0, 0x00
  580. 0000059A  1010                     move.b     D0, [A0]
  581. 0000059C  1181 0000                move.b     [A0 + D0.w], D1
  582. 000005A0  60D4                     bra        -0x2A /* 00000576 */
  583. label000005A2:
  584. 000005A2  2889                     move.l     [A4], A1
  585. 000005A4  285F                     movea.l    A4, [A7]+
  586. 000005A6  4E75                     rts
  587. fn000005A8:
  588. 000005A8  4FEF FEBE                lea.l      A7, [A7 - 0x142]
  589. 000005AC  41ED 85E6                lea.l      A0, [A5 - 0x7A1A]
  590. 000005B0  43EF 0002                lea.l      A1, [A7 + 0x2]
  591. 000005B4  700F                     moveq.l    D0, 0x0F
  592. label000005B6:
  593. 000005B6  22D8                     move.l     [A1]+, [A0]+
  594. 000005B8  51C8 FFFC                dbf        D0, -0x6 /* 000005B6 */
  595. 000005BC  2F2F 0146                move.l     -[A7], [A7 + 0x146]
  596. 000005C0  486F 0046                pea.l      [A7 + 0x46]
  597. 000005C4  4EBA FFA2                jsr        [PC - 0x5E /* 00000568 */]
  598. 000005C8  7000                     moveq.l    D0, 0x00
  599. 000005CA  102F 004A                move.b     D0, [A7 + 0x4A]
  600. 000005CE  0C80 0000 00FF           cmpi.l     D0, 0xFF
  601. 000005D4  504F                     addq.w     A7, 8
  602. 000005D6  6606                     bne        +0x8 /* 000005DE */
  603. 000005D8  1F7C 00FE 0042           move.b     [A7 + 0x42], 0xFE
  604. label000005DE:
  605. 000005DE  522F 0042                addq.b     [A7 + 0x42], 1
  606. 000005E2  7000                     moveq.l    D0, 0x00
  607. 000005E4  102F 0042                move.b     D0, [A7 + 0x42]
  608. 000005E8  41EF 0042                lea.l      A0, [A7 + 0x42]
  609. 000005EC  11BC 003A 0000           move.b     [A0 + D0.w], 0x3A /* ':' */
  610. 000005F2  2F48 0014                move.l     [A7 + 0x14], A0
  611. 000005F6  3F7C FFFF 001E           move.w     [A7 + 0x1E], 0xFFFF
  612. 000005FC  41EF 0002                lea.l      A0, [A7 + 0x2]
  613. 00000600  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  614. 00000602  3E80                     move.w     [A7], D0
  615. 00000604  206F 014A                movea.l    A0, [A7 + 0x14A]
  616. 00000608  30AF 0018                move.w     [A0], [A7 + 0x18]
  617. 0000060C  3017                     move.w     D0, [A7]
  618. 0000060E  4FEF 0142                lea.l      A7, [A7 + 0x142]
  619. 00000612  4E75                     rts
  620. 00000614  48E7 1020                movem.l    -[A7], D3,A2
  621. 00000618  162F 000C                move.b     D3, [A7 + 0xC]
  622. 0000061C  202D 8764                move.l     D0, [A5 - 0x789C]
  623. 00000620  7232                     moveq.l    D1, 0x32
  624. 00000622  4EAD D8F8                jsr        [A5 - 0x2708]
  625. 00000626  41ED 876C                lea.l      A0, [A5 - 0x7894]
  626. 0000062A  D1C0                     add.l      A0, D0
  627. 0000062C  2448                     movea.l    A2, A0
  628. 0000062E  7001                     moveq.l    D0, 0x01
  629. 00000630  2540 0010                move.l     [A2 + 0x10], D0
  630. 00000634  202D 8764                move.l     D0, [A5 - 0x789C]
  631. 00000638  7232                     moveq.l    D1, 0x32
  632. 0000063A  4EAD D8F8                jsr        [A5 - 0x2708]
  633. 0000063E  41ED 876C                lea.l      A0, [A5 - 0x7894]
  634. 00000642  D1C0                     add.l      A0, D0
  635. 00000644  2448                     movea.l    A2, A0
  636. 00000646  1543 0018                move.b     [A2 + 0x18], D3
  637. 0000064A  262D 8764                move.l     D3, [A5 - 0x789C]
  638. 0000064E  2003                     move.l     D0, D3
  639. 00000650  7232                     moveq.l    D1, 0x32
  640. 00000652  4EAD D8F8                jsr        [A5 - 0x2708]
  641. 00000656  41ED 876C                lea.l      A0, [A5 - 0x7894]
  642. 0000065A  D1C0                     add.l      A0, D0
  643. 0000065C  2448                     movea.l    A2, A0
  644. 0000065E  2543 0014                move.l     [A2 + 0x14], D3
  645. 00000662  52AD 8764                addq.l     [A5 - 0x789C], 1
  646. 00000666  4CDF 0408                movem.l    D3,A2, [A7]+
  647. 0000066A  205F                     movea.l    A0, [A7]+
  648. 0000066C  544F                     addq.w     A7, 2
  649. 0000066E  4ED0                     jmp        [A0]
  650. 00000670  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  651. 00000674  202D 8764                move.l     D0, [A5 - 0x789C]
  652. 00000678  5380                     subq.l     D0, 1
  653. 0000067A  7232                     moveq.l    D1, 0x32
  654. 0000067C  4EAD D8F8                jsr        [A5 - 0x2708]
  655. 00000680  41ED 876C                lea.l      A0, [A5 - 0x7894]
  656. 00000684  D1C0                     add.l      A0, D0
  657. 00000686  4850                     pea.l      [A0]
  658. 00000688  4EBA 08F6                jsr        [PC + 0x8F6 /* 00000F80 */]
  659. 0000068C  5C4F                     addq.w     A7, 6
  660. 0000068E  205F                     movea.l    A0, [A7]+
  661. 00000690  544F                     addq.w     A7, 2
  662. 00000692  4ED0                     jmp        [A0]
  663. 00000694  2F0A                     move.l     -[A7], A2
  664. 00000696  202D 8764                move.l     D0, [A5 - 0x789C]
  665. 0000069A  5380                     subq.l     D0, 1
  666. 0000069C  7232                     moveq.l    D1, 0x32
  667. 0000069E  4EAD D8F8                jsr        [A5 - 0x2708]
  668. 000006A2  41ED 876C                lea.l      A0, [A5 - 0x7894]
  669. 000006A6  D1C0                     add.l      A0, D0
  670. 000006A8  2448                     movea.l    A2, A0
  671. 000006AA  256F 0008 002E           move.l     [A2 + 0x2E], [A7 + 0x8]
  672. 000006B0  245F                     movea.l    A2, [A7]+
  673. 000006B2  2E9F                     move.l     [A7], [A7]+
  674. 000006B4  4E75                     rts
  675. 000006B6  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  676. 000006BA  1F2F 000C                move.b     -[A7], [A7 + 0xC]
  677. 000006BE  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  678. 000006C2  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  679. 000006C6  1F2F 001C                move.b     -[A7], [A7 + 0x1C]
  680. 000006CA  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  681. 000006CE  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  682. 000006D2  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  683. 000006D6  42A7                     clr.l      -[A7]
  684. 000006D8  4EBA 0370                jsr        [PC + 0x370 /* 00000A4A */]
  685. 000006DC  2F48 003C                move.l     [A7 + 0x3C], A0
  686. 000006E0  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  687. 000006E4  205F                     movea.l    A0, [A7]+
  688. 000006E6  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  689. 000006EA  4ED0                     jmp        [A0]
  690. 000006EC  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  691. 000006F0  1F2F 000C                move.b     -[A7], [A7 + 0xC]
  692. 000006F4  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  693. 000006F8  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  694. 000006FC  1F2F 001C                move.b     -[A7], [A7 + 0x1C]
  695. 00000700  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  696. 00000704  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  697. 00000708  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  698. 0000070C  4878 0001                push.l     0x1
  699. 00000710  4EBA 0338                jsr        [PC + 0x338 /* 00000A4A */]
  700. 00000714  2F48 003C                move.l     [A7 + 0x3C], A0
  701. 00000718  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  702. 0000071C  205F                     movea.l    A0, [A7]+
  703. 0000071E  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  704. 00000722  4ED0                     jmp        [A0]
  705. 00000724  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  706. 00000728  594F                     subq.w     A7, 4
  707. 0000072A  382F 0020                move.w     D4, [A7 + 0x20]
  708. 0000072E  594F                     subq.w     A7, 4
  709. 00000730  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  710. 00000736  3F04                     move.w     -[A7], D4
  711. 00000738  A9A0                     syscall    GetResource
  712. 0000073A  205F                     movea.l    A0, [A7]+
  713. 0000073C  2448                     movea.l    A2, A0
  714. 0000073E  200A                     move.l     D0, A2
  715. 00000740  6606                     bne        +0x8 /* 00000748 */
  716. 00000742  42AF 0022                clr.l      [A7 + 0x22]
  717. 00000746  6056                     bra        +0x58 /* 0000079E */
  718. label00000748:
  719. 00000748  2052                     movea.l    A0, [A2]
  720. 0000074A  3628 0008                move.w     D3, [A0 + 0x8]
  721. 0000074E  594F                     subq.w     A7, 4
  722. 00000750  3F04                     move.w     -[A7], D4
  723. 00000752  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  724. 00000756  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  725. 0000075A  A97C                     syscall    GetNewDialog
  726. 0000075C  205F                     movea.l    A0, [A7]+
  727. 0000075E  2448                     movea.l    A2, A0
  728. 00000760  200A                     move.l     D0, A2
  729. 00000762  6606                     bne        +0x8 /* 0000076A */
  730. 00000764  42AF 0022                clr.l      [A7 + 0x22]
  731. 00000768  6034                     bra        +0x36 /* 0000079E */
  732. label0000076A:
  733. 0000076A  3F03                     move.w     -[A7], D3
  734. 0000076C  4EBA 03DA                jsr        [PC + 0x3DA /* 00000B48 */]
  735. 00000770  2648                     movea.l    A3, A0
  736. 00000772  200B                     move.l     D0, A3
  737. 00000774  6608                     bne        +0xA /* 0000077E */
  738. 00000776  2F40 0002                move.l     [A7 + 0x2], D0
  739. 0000077A  7002                     moveq.l    D0, 0x02
  740. 0000077C  6004                     bra        +0x6 /* 00000782 */
  741. label0000077E:
  742. 0000077E  102B 0018                move.b     D0, [A3 + 0x18]
  743. label00000782:
  744. 00000782  1F00                     move.b     -[A7], D0
  745. 00000784  2F0A                     move.l     -[A7], A2
  746. 00000786  4EBA 0620                jsr        [PC + 0x620 /* 00000DA8 */]
  747. 0000078A  4A40                     tst.w      D0
  748. 0000078C  504F                     addq.w     A7, 8
  749. 0000078E  670A                     beq        +0xC /* 0000079A */
  750. 00000790  2F0A                     move.l     -[A7], A2
  751. 00000792  A983                     syscall    DisposeDialog
  752. 00000794  42AF 0022                clr.l      [A7 + 0x22]
  753. 00000798  6004                     bra        +0x6 /* 0000079E */
  754. label0000079A:
  755. 0000079A  2F4A 0022                move.l     [A7 + 0x22], A2
  756. label0000079E:
  757. 0000079E  584F                     addq.w     A7, 4
  758. 000007A0  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  759. 000007A4  205F                     movea.l    A0, [A7]+
  760. 000007A6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  761. 000007AA  4ED0                     jmp        [A0]
  762. 000007AC  2F0A                     move.l     -[A7], A2
  763. 000007AE  246F 0008                movea.l    A2, [A7 + 0x8]
  764. 000007B2  2F0A                     move.l     -[A7], A2
  765. 000007B4  4EBA 043E                jsr        [PC + 0x43E /* 00000BF4 */]
  766. 000007B8  2F0A                     move.l     -[A7], A2
  767. 000007BA  A92D                     syscall    CloseWindow
  768. 000007BC  2F0A                     move.l     -[A7], A2
  769. 000007BE  4EBA 0620                jsr        [PC + 0x620 /* 00000DE0 */]
  770. 000007C2  504F                     addq.w     A7, 8
  771. 000007C4  245F                     movea.l    A2, [A7]+
  772. 000007C6  2E9F                     move.l     [A7], [A7]+
  773. 000007C8  4E75                     rts
  774. 000007CA  2F0A                     move.l     -[A7], A2
  775. 000007CC  246F 0008                movea.l    A2, [A7 + 0x8]
  776. 000007D0  2F0A                     move.l     -[A7], A2
  777. 000007D2  4EBA 0420                jsr        [PC + 0x420 /* 00000BF4 */]
  778. 000007D6  2F0A                     move.l     -[A7], A2
  779. 000007D8  A983                     syscall    DisposeDialog
  780. 000007DA  2F0A                     move.l     -[A7], A2
  781. 000007DC  4EBA 0602                jsr        [PC + 0x602 /* 00000DE0 */]
  782. 000007E0  504F                     addq.w     A7, 8
  783. 000007E2  245F                     movea.l    A2, [A7]+
  784. 000007E4  2E9F                     move.l     [A7], [A7]+
  785. 000007E6  4E75                     rts
  786. fn000007E8:
  787. 000007E8  48E7 0030                movem.l    -[A7], A2,A3
  788. 000007EC  266F 000C                movea.l    A3, [A7 + 0xC]
  789. 000007F0  7000                     moveq.l    D0, 0x00
  790. 000007F2  102B 006E                move.b     D0, [A3 + 0x6E]
  791. 000007F6  663E                     bne        +0x40 /* 00000836 */
  792. 000007F8  2F0B                     move.l     -[A7], A3
  793. 000007FA  4EBA 06DE                jsr        [PC + 0x6DE /* 00000EDA */]
  794. 000007FE  2448                     movea.l    A2, A0
  795. 00000800  200A                     move.l     D0, A2
  796. 00000802  584F                     addq.w     A7, 4
  797. 00000804  6730                     beq        +0x32 /* 00000836 */
  798. 00000806  102A 0018                move.b     D0, [A2 + 0x18]
  799. 0000080A  5500                     subq.b     D0, 2
  800. 0000080C  661E                     bne        +0x20 /* 0000082C */
  801. 0000080E  2F0B                     move.l     -[A7], A3
  802. 00000810  2F0A                     move.l     -[A7], A2
  803. 00000812  4EBA 0850                jsr        [PC + 0x850 /* 00001064 */]
  804. 00000816  4A80                     tst.l      D0
  805. 00000818  504F                     addq.w     A7, 8
  806. 0000081A  6610                     bne        +0x12 /* 0000082C */
  807. 0000081C  4878 FFFF                push.l     0xFFFF
  808. 00000820  2F0B                     move.l     -[A7], A3
  809. 00000822  2F0A                     move.l     -[A7], A2
  810. 00000824  4EBA 0874                jsr        [PC + 0x874 /* 0000109A */]
  811. 00000828  4FEF 000C                lea.l      A7, [A7 + 0xC]
  812. label0000082C:
  813. 0000082C  2F0B                     move.l     -[A7], A3
  814. 0000082E  2F0A                     move.l     -[A7], A2
  815. 00000830  4EBA 0A18                jsr        [PC + 0xA18 /* 0000124A */]
  816. 00000834  504F                     addq.w     A7, 8
  817. label00000836:
  818. 00000836  4CDF 0C00                movem.l    A2,A3, [A7]+
  819. 0000083A  2E9F                     move.l     [A7], [A7]+
  820. 0000083C  4E75                     rts
  821. fn0000083E:
  822. 0000083E  48E7 0030                movem.l    -[A7], A2,A3
  823. 00000842  246F 000C                movea.l    A2, [A7 + 0xC]
  824. 00000846  7000                     moveq.l    D0, 0x00
  825. 00000848  102A 006E                move.b     D0, [A2 + 0x6E]
  826. 0000084C  6718                     beq        +0x1A /* 00000866 */
  827. 0000084E  2F0A                     move.l     -[A7], A2
  828. 00000850  4EBA 0688                jsr        [PC + 0x688 /* 00000EDA */]
  829. 00000854  2648                     movea.l    A3, A0
  830. 00000856  200B                     move.l     D0, A3
  831. 00000858  584F                     addq.w     A7, 4
  832. 0000085A  670A                     beq        +0xC /* 00000866 */
  833. 0000085C  2F0A                     move.l     -[A7], A2
  834. 0000085E  2F0B                     move.l     -[A7], A3
  835. 00000860  4EBA 08E6                jsr        [PC + 0x8E6 /* 00001148 */]
  836. 00000864  504F                     addq.w     A7, 8
  837. label00000866:
  838. 00000866  4CDF 0C00                movem.l    A2,A3, [A7]+
  839. 0000086A  2E9F                     move.l     [A7], [A7]+
  840. 0000086C  4E75                     rts
  841. fn0000086E:
  842. 0000086E  2F0A                     move.l     -[A7], A2
  843. 00000870  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  844. 00000874  4EBA 0664                jsr        [PC + 0x664 /* 00000EDA */]
  845. 00000878  2448                     movea.l    A2, A0
  846. 0000087A  200A                     move.l     D0, A2
  847. 0000087C  584F                     addq.w     A7, 4
  848. 0000087E  670C                     beq        +0xE /* 0000088C */
  849. 00000880  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  850. 00000884  2F0A                     move.l     -[A7], A2
  851. 00000886  4EBA 0AD0                jsr        [PC + 0xAD0 /* 00001358 */]
  852. 0000088A  504F                     addq.w     A7, 8
  853. label0000088C:
  854. 0000088C  245F                     movea.l    A2, [A7]+
  855. 0000088E  2E9F                     move.l     [A7], [A7]+
  856. 00000890  4E75                     rts
  857. 00000892  2F0A                     move.l     -[A7], A2
  858. 00000894  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  859. 00000898  4EBA 0640                jsr        [PC + 0x640 /* 00000EDA */]
  860. 0000089C  2448                     movea.l    A2, A0
  861. 0000089E  200A                     move.l     D0, A2
  862. 000008A0  584F                     addq.w     A7, 4
  863. 000008A2  6716                     beq        +0x18 /* 000008BA */
  864. 000008A4  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  865. 000008A8  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  866. 000008AC  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  867. 000008B0  2F0A                     move.l     -[A7], A2
  868. 000008B2  4EBA 0B94                jsr        [PC + 0xB94 /* 00001448 */]
  869. 000008B6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  870. label000008BA:
  871. 000008BA  245F                     movea.l    A2, [A7]+
  872. 000008BC  205F                     movea.l    A0, [A7]+
  873. 000008BE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  874. 000008C2  4ED0                     jmp        [A0]
  875. fn000008C4:
  876. 000008C4  48E7 1020                movem.l    -[A7], D3,A2
  877. 000008C8  202D 8764                move.l     D0, [A5 - 0x789C]
  878. 000008CC  7232                     moveq.l    D1, 0x32
  879. 000008CE  4EAD D8F8                jsr        [A5 - 0x2708]
  880. 000008D2  41ED 876C                lea.l      A0, [A5 - 0x7894]
  881. 000008D6  D1C0                     add.l      A0, D0
  882. 000008D8  41E8 FFCE                lea.l      A0, [A0 - 0x32]
  883. 000008DC  2448                     movea.l    A2, A0
  884. 000008DE  7600                     moveq.l    D3, 0x00
  885. 000008E0  6022                     bra        +0x24 /* 00000904 */
  886. label000008E2:
  887. 000008E2  4AAA 0010                tst.l      [A2 + 0x10]
  888. 000008E6  6716                     beq        +0x18 /* 000008FE */
  889. 000008E8  102A 0018                move.b     D0, [A2 + 0x18]
  890. 000008EC  5300                     subq.b     D0, 1
  891. 000008EE  670E                     beq        +0x10 /* 000008FE */
  892. 000008F0  4AAA 001A                tst.l      [A2 + 0x1A]
  893. 000008F4  6708                     beq        +0xA /* 000008FE */
  894. 000008F6  2F6A 001A 000C           move.l     [A7 + 0xC], [A2 + 0x1A]
  895. 000008FC  6010                     bra        +0x12 /* 0000090E */
  896. label000008FE:
  897. 000008FE  5283                     addq.l     D3, 1
  898. 00000900  7032                     moveq.l    D0, 0x32
  899. 00000902  95C0                     sub.l      A2, D0
  900. label00000904:
  901. 00000904  B6AD 8764                cmp.l      D3, [A5 - 0x789C]
  902. 00000908  6DD8                     blt        -0x26 /* 000008E2 */
  903. 0000090A  42AF 000C                clr.l      [A7 + 0xC]
  904. label0000090E:
  905. 0000090E  4CDF 0408                movem.l    D3,A2, [A7]+
  906. 00000912  4E75                     rts
  907. 00000914  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  908. 00000918  3A2F 002C                move.w     D5, [A7 + 0x2C]
  909. 0000091C  246F 0028                movea.l    A2, [A7 + 0x28]
  910. 00000920  2C2F 0024                move.l     D6, [A7 + 0x24]
  911. 00000924  266F 0020                movea.l    A3, [A7 + 0x20]
  912. 00000928  3005                     move.w     D0, D5
  913. 0000092A  0280 0000 0100           andi.l     D0, 0x100
  914. 00000930  6722                     beq        +0x24 /* 00000954 */
  915. 00000932  2F0A                     move.l     -[A7], A2
  916. 00000934  4EBA 0378                jsr        [PC + 0x378 /* 00000CAE */]
  917. 00000938  4A80                     tst.l      D0
  918. 0000093A  584F                     addq.w     A7, 4
  919. 0000093C  6716                     beq        +0x18 /* 00000954 */
  920. 0000093E  286A 0002                movea.l    A4, [A2 + 0x2]
  921. 00000942  7000                     moveq.l    D0, 0x00
  922. 00000944  102C 006E                move.b     D0, [A4 + 0x6E]
  923. 00000948  670A                     beq        +0xC /* 00000954 */
  924. 0000094A  1F7C 0001 002E           move.b     [A7 + 0x2E], 0x1
  925. 00000950  6000 0092                bra        +0x94 /* 000009E4 */
  926. label00000954:
  927. 00000954  7800                     moveq.l    D4, 0x00
  928. label00000956:
  929. 00000956  7601                     moveq.l    D3, 0x01
  930. 00000958  554F                     subq.w     A7, 2
  931. 0000095A  3F05                     move.w     -[A7], D5
  932. 0000095C  2F0A                     move.l     -[A7], A2
  933. 0000095E  2F06                     move.l     -[A7], D6
  934. 00000960  2F0B                     move.l     -[A7], A3
  935. 00000962  A860                     syscall    WaitNextEvent
  936. 00000964  101F                     move.b     D0, [A7]+
  937. 00000966  1800                     move.b     D4, D0
  938. 00000968  7000                     moveq.l    D0, 0x00
  939. 0000096A  3012                     move.w     D0, [A2]
  940. 0000096C  5180                     subq.l     D0, 8
  941. 0000096E  6706                     beq        +0x8 /* 00000976 */
  942. 00000970  5F80                     subq.l     D0, 7
  943. 00000972  6706                     beq        +0x8 /* 0000097A */
  944. 00000974  6064                     bra        +0x66 /* 000009DA */
  945. label00000976:
  946. 00000976  7600                     moveq.l    D3, 0x00
  947. 00000978  6060                     bra        +0x62 /* 000009DA */
  948. label0000097A:
  949. 0000097A  202A 0002                move.l     D0, [A2 + 0x2]
  950. 0000097E  0280 0100 0001           andi.l     D0, 0x1000001
  951. 00000984  0C80 0100 0000           cmpi.l     D0, 0x1000000
  952. 0000098A  57C0                     seq        D0
  953. 0000098C  4400                     neg.b      D0
  954. 0000098E  4880                     ext.w      D0
  955. 00000990  48C0                     ext.l      D0
  956. 00000992  6716                     beq        +0x18 /* 000009AA */
  957. 00000994  7001                     moveq.l    D0, 0x01
  958. 00000996  2B40 8760                move.l     [A5 - 0x78A0], D0
  959. 0000099A  42A7                     clr.l      -[A7]
  960. 0000099C  4EBA 029E                jsr        [PC + 0x29E /* 00000C3C */]
  961. 000009A0  42A7                     clr.l      -[A7]
  962. 000009A2  4EBA 027C                jsr        [PC + 0x27C /* 00000C20 */]
  963. 000009A6  504F                     addq.w     A7, 8
  964. 000009A8  6030                     bra        +0x32 /* 000009DA */
  965. label000009AA:
  966. 000009AA  202A 0002                move.l     D0, [A2 + 0x2]
  967. 000009AE  0280 0100 0001           andi.l     D0, 0x1000001
  968. 000009B4  0C80 0100 0001           cmpi.l     D0, 0x1000001
  969. 000009BA  57C0                     seq        D0
  970. 000009BC  4400                     neg.b      D0
  971. 000009BE  4880                     ext.w      D0
  972. 000009C0  48C0                     ext.l      D0
  973. 000009C2  6716                     beq        +0x18 /* 000009DA */
  974. 000009C4  42AD 8760                clr.l      [A5 - 0x78A0]
  975. 000009C8  4878 0001                push.l     0x1
  976. 000009CC  4EBA 0252                jsr        [PC + 0x252 /* 00000C20 */]
  977. 000009D0  4878 0001                push.l     0x1
  978. 000009D4  4EBA 0266                jsr        [PC + 0x266 /* 00000C3C */]
  979. 000009D8  504F                     addq.w     A7, 8
  980. label000009DA:
  981. 000009DA  4A83                     tst.l      D3
  982. 000009DC  6700 FF78                beq        -0x86 /* 00000956 */
  983. 000009E0  1F44 002E                move.b     [A7 + 0x2E], D4
  984. label000009E4:
  985. 000009E4  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  986. 000009E8  205F                     movea.l    A0, [A7]+
  987. 000009EA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  988. 000009EE  4ED0                     jmp        [A0]
  989. 000009F0  48E7 0030                movem.l    -[A7], A2,A3
  990. 000009F4  7000                     moveq.l    D0, 0x00
  991. 000009F6  102F 000C                move.b     D0, [A7 + 0xC]
  992. 000009FA  670A                     beq        +0xC /* 00000A06 */
  993. 000009FC  5380                     subq.l     D0, 1
  994. 000009FE  670C                     beq        +0xE /* 00000A0C */
  995. 00000A00  5380                     subq.l     D0, 1
  996. 00000A02  6710                     beq        +0x12 /* 00000A14 */
  997. 00000A04  603E                     bra        +0x40 /* 00000A44 */
  998. label00000A06:
  999. 00000A06  42AD 875C                clr.l      [A5 - 0x78A4]
  1000. 00000A0A  6038                     bra        +0x3A /* 00000A44 */
  1001. label00000A0C:
  1002. 00000A0C  7001                     moveq.l    D0, 0x01
  1003. 00000A0E  2B40 875C                move.l     [A5 - 0x78A4], D0
  1004. 00000A12  6030                     bra        +0x32 /* 00000A44 */
  1005. label00000A14:
  1006. 00000A14  42AD 875C                clr.l      [A5 - 0x78A4]
  1007. 00000A18  594F                     subq.w     A7, 4
  1008. 00000A1A  A924                     syscall    FrontWindow
  1009. 00000A1C  205F                     movea.l    A0, [A7]+
  1010. 00000A1E  2448                     movea.l    A2, A0
  1011. 00000A20  200A                     move.l     D0, A2
  1012. 00000A22  6720                     beq        +0x22 /* 00000A44 */
  1013. 00000A24  246A 0090                movea.l    A2, [A2 + 0x90]
  1014. 00000A28  200A                     move.l     D0, A2
  1015. 00000A2A  6718                     beq        +0x1A /* 00000A44 */
  1016. 00000A2C  2F0A                     move.l     -[A7], A2
  1017. 00000A2E  4EBA 04AA                jsr        [PC + 0x4AA /* 00000EDA */]
  1018. 00000A32  2648                     movea.l    A3, A0
  1019. 00000A34  200B                     move.l     D0, A3
  1020. 00000A36  584F                     addq.w     A7, 4
  1021. 00000A38  670A                     beq        +0xC /* 00000A44 */
  1022. 00000A3A  2F0A                     move.l     -[A7], A2
  1023. 00000A3C  2F0B                     move.l     -[A7], A3
  1024. 00000A3E  4EBA 080A                jsr        [PC + 0x80A /* 0000124A */]
  1025. 00000A42  504F                     addq.w     A7, 8
  1026. label00000A44:
  1027. 00000A44  4CDF 0C00                movem.l    A2,A3, [A7]+
  1028. 00000A48  4E75                     rts
  1029. fn00000A4A:
  1030. 00000A4A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1031. 00000A4E  2E2F 0030                move.l     D7, [A7 + 0x30]
  1032. 00000A52  2C2F 0034                move.l     D6, [A7 + 0x34]
  1033. 00000A56  362F 003A                move.w     D3, [A7 + 0x3A]
  1034. 00000A5A  246F 003C                movea.l    A2, [A7 + 0x3C]
  1035. 00000A5E  1A2F 0040                move.b     D5, [A7 + 0x40]
  1036. 00000A62  282F 0042                move.l     D4, [A7 + 0x42]
  1037. 00000A66  3F03                     move.w     -[A7], D3
  1038. 00000A68  4EBA 00DE                jsr        [PC + 0xDE /* 00000B48 */]
  1039. 00000A6C  2648                     movea.l    A3, A0
  1040. 00000A6E  200B                     move.l     D0, A3
  1041. 00000A70  544F                     addq.w     A7, 2
  1042. 00000A72  6608                     bne        +0xA /* 00000A7C */
  1043. 00000A74  91C8                     sub.l      A0, A0
  1044. 00000A76  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1045. 00000A7A  4E75                     rts
  1046. label00000A7C:
  1047. 00000A7C  2C4A                     movea.l    A6, A2
  1048. 00000A7E  70FF                     moveq.l    D0, 0xFFFFFFFF
  1049. 00000A80  B5C0                     cmpa.l     A2, D0
  1050. 00000A82  660C                     bne        +0xE /* 00000A90 */
  1051. 00000A84  2F0B                     move.l     -[A7], A3
  1052. 00000A86  4EBA 0588                jsr        [PC + 0x588 /* 00001010 */]
  1053. 00000A8A  2448                     movea.l    A2, A0
  1054. 00000A8C  584F                     addq.w     A7, 4
  1055. 00000A8E  6034                     bra        +0x36 /* 00000AC4 */
  1056. label00000A90:
  1057. 00000A90  200A                     move.l     D0, A2
  1058. 00000A92  671E                     beq        +0x20 /* 00000AB2 */
  1059. 00000A94  2F0A                     move.l     -[A7], A2
  1060. 00000A96  2F0B                     move.l     -[A7], A3
  1061. 00000A98  4EBA 05CA                jsr        [PC + 0x5CA /* 00001064 */]
  1062. 00000A9C  4A80                     tst.l      D0
  1063. 00000A9E  504F                     addq.w     A7, 8
  1064. 00000AA0  6622                     bne        +0x24 /* 00000AC4 */
  1065. 00000AA2  2F0B                     move.l     -[A7], A3
  1066. 00000AA4  4EBA 056A                jsr        [PC + 0x56A /* 00001010 */]
  1067. 00000AA8  2448                     movea.l    A2, A0
  1068. 00000AAA  70FF                     moveq.l    D0, 0xFFFFFFFF
  1069. 00000AAC  2C40                     movea.l    A6, D0
  1070. 00000AAE  584F                     addq.w     A7, 4
  1071. 00000AB0  6012                     bra        +0x14 /* 00000AC4 */
  1072. label00000AB2:
  1073. 00000AB2  246B 001E                movea.l    A2, [A3 + 0x1E]
  1074. 00000AB6  200A                     move.l     D0, A2
  1075. 00000AB8  660A                     bne        +0xC /* 00000AC4 */
  1076. 00000ABA  2F0B                     move.l     -[A7], A3
  1077. 00000ABC  4EBA 0552                jsr        [PC + 0x552 /* 00001010 */]
  1078. 00000AC0  2448                     movea.l    A2, A0
  1079. 00000AC2  584F                     addq.w     A7, 4
  1080. label00000AC4:
  1081. 00000AC4  4AAF 0028                tst.l      [A7 + 0x28]
  1082. 00000AC8  671C                     beq        +0x1E /* 00000AE6 */
  1083. 00000ACA  594F                     subq.w     A7, 4
  1084. 00000ACC  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  1085. 00000AD0  2F07                     move.l     -[A7], D7
  1086. 00000AD2  2F06                     move.l     -[A7], D6
  1087. 00000AD4  4227                     clr.b      -[A7]
  1088. 00000AD6  3F03                     move.w     -[A7], D3
  1089. 00000AD8  2F0A                     move.l     -[A7], A2
  1090. 00000ADA  1F05                     move.b     -[A7], D5
  1091. 00000ADC  2F04                     move.l     -[A7], D4
  1092. 00000ADE  AA45                     syscall    NewCWindow
  1093. 00000AE0  205F                     movea.l    A0, [A7]+
  1094. 00000AE2  2848                     movea.l    A4, A0
  1095. 00000AE4  601A                     bra        +0x1C /* 00000B00 */
  1096. label00000AE6:
  1097. 00000AE6  594F                     subq.w     A7, 4
  1098. 00000AE8  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  1099. 00000AEC  2F07                     move.l     -[A7], D7
  1100. 00000AEE  2F06                     move.l     -[A7], D6
  1101. 00000AF0  4227                     clr.b      -[A7]
  1102. 00000AF2  3F03                     move.w     -[A7], D3
  1103. 00000AF4  2F0A                     move.l     -[A7], A2
  1104. 00000AF6  1F05                     move.b     -[A7], D5
  1105. 00000AF8  2F04                     move.l     -[A7], D4
  1106. 00000AFA  A913                     syscall    NewWindow
  1107. 00000AFC  205F                     movea.l    A0, [A7]+
  1108. 00000AFE  2848                     movea.l    A4, A0
  1109. label00000B00:
  1110. 00000B00  200C                     move.l     D0, A4
  1111. 00000B02  673C                     beq        +0x3E /* 00000B40 */
  1112. 00000B04  102B 0018                move.b     D0, [A3 + 0x18]
  1113. 00000B08  1F00                     move.b     -[A7], D0
  1114. 00000B0A  2F0C                     move.l     -[A7], A4
  1115. 00000B0C  4EBA 029A                jsr        [PC + 0x29A /* 00000DA8 */]
  1116. 00000B10  4A40                     tst.w      D0
  1117. 00000B12  5C4F                     addq.w     A7, 6
  1118. 00000B14  6710                     beq        +0x12 /* 00000B26 */
  1119. 00000B16  2F0C                     move.l     -[A7], A4
  1120. 00000B18  A92D                     syscall    CloseWindow
  1121. 00000B1A  204C                     movea.l    A0, A4
  1122. 00000B1C  A01F                     syscall    DisposPtr/DisposePtr
  1123. 00000B1E  91C8                     sub.l      A0, A0
  1124. 00000B20  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1125. 00000B24  4E75                     rts
  1126. label00000B26:
  1127. 00000B26  2F0E                     move.l     -[A7], A6
  1128. 00000B28  2F0C                     move.l     -[A7], A4
  1129. 00000B2A  2F0B                     move.l     -[A7], A3
  1130. 00000B2C  4EBA 056C                jsr        [PC + 0x56C /* 0000109A */]
  1131. 00000B30  4A2F 0044                tst.b      [A7 + 0x44]
  1132. 00000B34  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1133. 00000B38  6706                     beq        +0x8 /* 00000B40 */
  1134. 00000B3A  2F0C                     move.l     -[A7], A4
  1135. 00000B3C  4EBA FCAA                jsr        [PC - 0x356 /* 000007E8 */]
  1136. label00000B40:
  1137. 00000B40  204C                     movea.l    A0, A4
  1138. 00000B42  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1139. 00000B46  4E75                     rts
  1140. fn00000B48:
  1141. 00000B48  48E7 1820                movem.l    -[A7], D3,D4,A2
  1142. 00000B4C  382F 0010                move.w     D4, [A7 + 0x10]
  1143. 00000B50  45ED 876C                lea.l      A2, [A5 - 0x7894]
  1144. 00000B54  7600                     moveq.l    D3, 0x00
  1145. 00000B56  6022                     bra        +0x24 /* 00000B7A */
  1146. label00000B58:
  1147. 00000B58  4AAA 0010                tst.l      [A2 + 0x10]
  1148. 00000B5C  6716                     beq        +0x18 /* 00000B74 */
  1149. 00000B5E  3F04                     move.w     -[A7], D4
  1150. 00000B60  2F0A                     move.l     -[A7], A2
  1151. 00000B62  4EBA 0432                jsr        [PC + 0x432 /* 00000F96 */]
  1152. 00000B66  4A80                     tst.l      D0
  1153. 00000B68  5C4F                     addq.w     A7, 6
  1154. 00000B6A  6708                     beq        +0xA /* 00000B74 */
  1155. 00000B6C  204A                     movea.l    A0, A2
  1156. 00000B6E  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  1157. 00000B72  4E75                     rts
  1158. label00000B74:
  1159. 00000B74  5283                     addq.l     D3, 1
  1160. 00000B76  7032                     moveq.l    D0, 0x32
  1161. 00000B78  D5C0                     add.l      A2, D0
  1162. label00000B7A:
  1163. 00000B7A  B6AD 8764                cmp.l      D3, [A5 - 0x789C]
  1164. 00000B7E  6DD8                     blt        -0x26 /* 00000B58 */
  1165. 00000B80  91C8                     sub.l      A0, A0
  1166. 00000B82  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  1167. 00000B86  4E75                     rts
  1168. fn00000B88:
  1169. 00000B88  48E7 0038                movem.l    -[A7], A2,A3,A4
  1170. 00000B8C  286F 0010                movea.l    A4, [A7 + 0x10]
  1171. 00000B90  594F                     subq.w     A7, 4
  1172. 00000B92  2EB8 09D6                move.l     [A7], [0x000009D6 /* WindowList */]
  1173. 00000B96  205F                     movea.l    A0, [A7]+
  1174. 00000B98  2648                     movea.l    A3, A0
  1175. label00000B9A:
  1176. 00000B9A  2F0B                     move.l     -[A7], A3
  1177. 00000B9C  4EBA 01C2                jsr        [PC + 0x1C2 /* 00000D60 */]
  1178. 00000BA0  2448                     movea.l    A2, A0
  1179. 00000BA2  200A                     move.l     D0, A2
  1180. 00000BA4  584F                     addq.w     A7, 4
  1181. 00000BA6  6710                     beq        +0x12 /* 00000BB8 */
  1182. 00000BA8  B5CC                     cmpa.l     A2, A4
  1183. 00000BAA  6608                     bne        +0xA /* 00000BB4 */
  1184. 00000BAC  204B                     movea.l    A0, A3
  1185. 00000BAE  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1186. 00000BB2  4E75                     rts
  1187. label00000BB4:
  1188. 00000BB4  264A                     movea.l    A3, A2
  1189. 00000BB6  60E2                     bra        -0x1C /* 00000B9A */
  1190. label00000BB8:
  1191. 00000BB8  91C8                     sub.l      A0, A0
  1192. 00000BBA  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1193. 00000BBE  4E75                     rts
  1194. fn00000BC0:
  1195. 00000BC0  2F03                     move.l     -[A7], D3
  1196. 00000BC2  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  1197. 00000BC6  7637                     moveq.l    D3, 0x37
  1198. 00000BC8  486F 0004                pea.l      [A7 + 0x4]
  1199. 00000BCC  A976                     syscall    GetKeys
  1200. 00000BCE  7001                     moveq.l    D0, 0x01
  1201. 00000BD0  3203                     move.w     D1, D3
  1202. 00000BD2  7407                     moveq.l    D2, 0x07
  1203. 00000BD4  C282                     and.l      D1, D2
  1204. 00000BD6  7400                     moveq.l    D2, 0x00
  1205. 00000BD8  3403                     move.w     D2, D3
  1206. 00000BDA  E682                     asr        D2, 3
  1207. 00000BDC  41EF 0004                lea.l      A0, [A7 + 0x4]
  1208. 00000BE0  2E80                     move.l     [A7], D0
  1209. 00000BE2  7000                     moveq.l    D0, 0x00
  1210. 00000BE4  1030 2800                move.b     D0, [A0 + D2]
  1211. 00000BE8  E2A0                     asr        D0, D1
  1212. 00000BEA  C097                     and.l      D0, [A7]
  1213. 00000BEC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1214. 00000BF0  261F                     move.l     D3, [A7]+
  1215. 00000BF2  4E75                     rts
  1216. fn00000BF4:
  1217. 00000BF4  48E7 0030                movem.l    -[A7], A2,A3
  1218. 00000BF8  266F 000C                movea.l    A3, [A7 + 0xC]
  1219. 00000BFC  2F0B                     move.l     -[A7], A3
  1220. 00000BFE  4EBA FC3E                jsr        [PC - 0x3C2 /* 0000083E */]
  1221. 00000C02  2F0B                     move.l     -[A7], A3
  1222. 00000C04  4EBA 02D4                jsr        [PC + 0x2D4 /* 00000EDA */]
  1223. 00000C08  2448                     movea.l    A2, A0
  1224. 00000C0A  200A                     move.l     D0, A2
  1225. 00000C0C  584F                     addq.w     A7, 4
  1226. 00000C0E  670A                     beq        +0xC /* 00000C1A */
  1227. 00000C10  2F0B                     move.l     -[A7], A3
  1228. 00000C12  2F0A                     move.l     -[A7], A2
  1229. 00000C14  4EBA 04D8                jsr        [PC + 0x4D8 /* 000010EE */]
  1230. 00000C18  504F                     addq.w     A7, 8
  1231. label00000C1A:
  1232. 00000C1A  4CDF 0C00                movem.l    A2,A3, [A7]+
  1233. 00000C1E  4E75                     rts
  1234. fn00000C20:
  1235. 00000C20  2F0A                     move.l     -[A7], A2
  1236. 00000C22  594F                     subq.w     A7, 4
  1237. 00000C24  4EBA FC9E                jsr        [PC - 0x362 /* 000008C4 */]
  1238. 00000C28  205F                     movea.l    A0, [A7]+
  1239. 00000C2A  2448                     movea.l    A2, A0
  1240. 00000C2C  200A                     move.l     D0, A2
  1241. 00000C2E  6708                     beq        +0xA /* 00000C38 */
  1242. 00000C30  2F0A                     move.l     -[A7], A2
  1243. 00000C32  1F2F 000F                move.b     -[A7], [A7 + 0xF]
  1244. 00000C36  A91C                     syscall    HiliteWindow
  1245. label00000C38:
  1246. 00000C38  245F                     movea.l    A2, [A7]+
  1247. 00000C3A  4E75                     rts
  1248. fn00000C3C:
  1249. 00000C3C  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  1250. 00000C40  262F 0018                move.l     D3, [A7 + 0x18]
  1251. 00000C44  47ED 876C                lea.l      A3, [A5 - 0x7894]
  1252. 00000C48  7800                     moveq.l    D4, 0x00
  1253. 00000C4A  6056                     bra        +0x58 /* 00000CA2 */
  1254. label00000C4C:
  1255. 00000C4C  4AAB 0010                tst.l      [A3 + 0x10]
  1256. 00000C50  674A                     beq        +0x4C /* 00000C9C */
  1257. 00000C52  102B 0018                move.b     D0, [A3 + 0x18]
  1258. 00000C56  5300                     subq.b     D0, 1
  1259. 00000C58  6642                     bne        +0x44 /* 00000C9C */
  1260. 00000C5A  246B 001A                movea.l    A2, [A3 + 0x1A]
  1261. 00000C5E  286B 001E                movea.l    A4, [A3 + 0x1E]
  1262. 00000C62  6034                     bra        +0x36 /* 00000C98 */
  1263. label00000C64:
  1264. 00000C64  4A83                     tst.l      D3
  1265. 00000C66  671C                     beq        +0x1E /* 00000C84 */
  1266. 00000C68  4AAB 002E                tst.l      [A3 + 0x2E]
  1267. 00000C6C  670E                     beq        +0x10 /* 00000C7C */
  1268. 00000C6E  554F                     subq.w     A7, 2
  1269. 00000C70  2F0A                     move.l     -[A7], A2
  1270. 00000C72  206B 002E                movea.l    A0, [A3 + 0x2E]
  1271. 00000C76  4E90                     jsr        [A0]
  1272. 00000C78  301F                     move.w     D0, [A7]+
  1273. 00000C7A  670E                     beq        +0x10 /* 00000C8A */
  1274. label00000C7C:
  1275. 00000C7C  2F0A                     move.l     -[A7], A2
  1276. 00000C7E  4EBA FB68                jsr        [PC - 0x498 /* 000007E8 */]
  1277. 00000C82  6006                     bra        +0x8 /* 00000C8A */
  1278. label00000C84:
  1279. 00000C84  2F0A                     move.l     -[A7], A2
  1280. 00000C86  4EBA FBB6                jsr        [PC - 0x44A /* 0000083E */]
  1281. label00000C8A:
  1282. 00000C8A  B5CC                     cmpa.l     A2, A4
  1283. 00000C8C  670E                     beq        +0x10 /* 00000C9C */
  1284. 00000C8E  2F0A                     move.l     -[A7], A2
  1285. 00000C90  4EBA 00CE                jsr        [PC + 0xCE /* 00000D60 */]
  1286. 00000C94  2448                     movea.l    A2, A0
  1287. 00000C96  584F                     addq.w     A7, 4
  1288. label00000C98:
  1289. 00000C98  200A                     move.l     D0, A2
  1290. 00000C9A  66C8                     bne        -0x36 /* 00000C64 */
  1291. label00000C9C:
  1292. 00000C9C  5284                     addq.l     D4, 1
  1293. 00000C9E  7032                     moveq.l    D0, 0x32
  1294. 00000CA0  D7C0                     add.l      A3, D0
  1295. label00000CA2:
  1296. 00000CA2  B8AD 8764                cmp.l      D4, [A5 - 0x789C]
  1297. 00000CA6  6DA4                     blt        -0x5A /* 00000C4C */
  1298. 00000CA8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1299. 00000CAC  4E75                     rts
  1300. fn00000CAE:
  1301. 00000CAE  48E7 1030                movem.l    -[A7], D3,A2,A3
  1302. 00000CB2  266F 0010                movea.l    A3, [A7 + 0x10]
  1303. 00000CB6  4AAD 875C                tst.l      [A5 - 0x78A4]
  1304. 00000CBA  6708                     beq        +0xA /* 00000CC4 */
  1305. 00000CBC  7000                     moveq.l    D0, 0x00
  1306. 00000CBE  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1307. 00000CC2  4E75                     rts
  1308. label00000CC4:
  1309. 00000CC4  45ED 876C                lea.l      A2, [A5 - 0x7894]
  1310. 00000CC8  7600                     moveq.l    D3, 0x00
  1311. 00000CCA  6022                     bra        +0x24 /* 00000CEE */
  1312. label00000CCC:
  1313. 00000CCC  4AAA 0010                tst.l      [A2 + 0x10]
  1314. 00000CD0  6716                     beq        +0x18 /* 00000CE8 */
  1315. 00000CD2  2F0B                     move.l     -[A7], A3
  1316. 00000CD4  2F0A                     move.l     -[A7], A2
  1317. 00000CD6  4EBA 0912                jsr        [PC + 0x912 /* 000015EA */]
  1318. 00000CDA  4A80                     tst.l      D0
  1319. 00000CDC  504F                     addq.w     A7, 8
  1320. 00000CDE  6708                     beq        +0xA /* 00000CE8 */
  1321. 00000CE0  7001                     moveq.l    D0, 0x01
  1322. 00000CE2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1323. 00000CE6  4E75                     rts
  1324. label00000CE8:
  1325. 00000CE8  5283                     addq.l     D3, 1
  1326. 00000CEA  7032                     moveq.l    D0, 0x32
  1327. 00000CEC  D5C0                     add.l      A2, D0
  1328. label00000CEE:
  1329. 00000CEE  B6AD 8764                cmp.l      D3, [A5 - 0x789C]
  1330. 00000CF2  6DD8                     blt        -0x26 /* 00000CCC */
  1331. 00000CF4  7000                     moveq.l    D0, 0x00
  1332. 00000CF6  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1333. 00000CFA  4E75                     rts
  1334. fn00000CFC:
  1335. 00000CFC  48E7 1020                movem.l    -[A7], D3,A2
  1336. 00000D00  45ED 876C                lea.l      A2, [A5 - 0x7894]
  1337. 00000D04  7600                     moveq.l    D3, 0x00
  1338. 00000D06  601C                     bra        +0x1E /* 00000D24 */
  1339. label00000D08:
  1340. 00000D08  4AAA 0010                tst.l      [A2 + 0x10]
  1341. 00000D0C  6710                     beq        +0x12 /* 00000D1E */
  1342. 00000D0E  102A 0018                move.b     D0, [A2 + 0x18]
  1343. 00000D12  5300                     subq.b     D0, 1
  1344. 00000D14  6608                     bne        +0xA /* 00000D1E */
  1345. 00000D16  2F0A                     move.l     -[A7], A2
  1346. 00000D18  4EBA 09DC                jsr        [PC + 0x9DC /* 000016F6 */]
  1347. 00000D1C  584F                     addq.w     A7, 4
  1348. label00000D1E:
  1349. 00000D1E  5283                     addq.l     D3, 1
  1350. 00000D20  7032                     moveq.l    D0, 0x32
  1351. 00000D22  D5C0                     add.l      A2, D0
  1352. label00000D24:
  1353. 00000D24  B6AD 8764                cmp.l      D3, [A5 - 0x789C]
  1354. 00000D28  6DDE                     blt        -0x20 /* 00000D08 */
  1355. 00000D2A  4CDF 0408                movem.l    D3,A2, [A7]+
  1356. 00000D2E  4E75                     rts
  1357. fn00000D30:
  1358. 00000D30  2F0A                     move.l     -[A7], A2
  1359. 00000D32  594F                     subq.w     A7, 4
  1360. 00000D34  246F 000C                movea.l    A2, [A7 + 0xC]
  1361. 00000D38  594F                     subq.w     A7, 4
  1362. 00000D3A  A975                     syscall    TickCount
  1363. 00000D3C  201F                     move.l     D0, [A7]+
  1364. 00000D3E  2540 0006                move.l     [A2 + 0x6], D0
  1365. 00000D42  34BC 0008                move.w     [A2], 0x8
  1366. 00000D46  4857                     pea.l      [A7]
  1367. 00000D48  A910                     syscall    GetWMgrPort
  1368. 00000D4A  2F17                     move.l     -[A7], [A7]
  1369. 00000D4C  4EAD DD40                jsr        [A5 - 0x22C0]
  1370. 00000D50  486A 000A                pea.l      [A2 + 0xA]
  1371. 00000D54  A972                     syscall    GetMouse
  1372. 00000D56  4EAD DD48                jsr        [A5 - 0x22B8]
  1373. 00000D5A  504F                     addq.w     A7, 8
  1374. 00000D5C  245F                     movea.l    A2, [A7]+
  1375. 00000D5E  4E75                     rts
  1376. fn00000D60:
  1377. 00000D60  2F0A                     move.l     -[A7], A2
  1378. 00000D62  246F 0008                movea.l    A2, [A7 + 0x8]
  1379. label00000D66:
  1380. 00000D66  246A 0090                movea.l    A2, [A2 + 0x90]
  1381. 00000D6A  200A                     move.l     D0, A2
  1382. 00000D6C  6712                     beq        +0x14 /* 00000D80 */
  1383. 00000D6E  42A7                     clr.l      -[A7]
  1384. 00000D70  42A7                     clr.l      -[A7]
  1385. 00000D72  2F0A                     move.l     -[A7], A2
  1386. 00000D74  4EBA 00FE                jsr        [PC + 0xFE /* 00000E74 */]
  1387. 00000D78  4A80                     tst.l      D0
  1388. 00000D7A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1389. 00000D7E  67E6                     beq        -0x18 /* 00000D66 */
  1390. label00000D80:
  1391. 00000D80  204A                     movea.l    A0, A2
  1392. 00000D82  245F                     movea.l    A2, [A7]+
  1393. 00000D84  4E75                     rts
  1394. fn00000D86:
  1395. 00000D86  2F0A                     move.l     -[A7], A2
  1396. 00000D88  246F 0008                movea.l    A2, [A7 + 0x8]
  1397. label00000D8C:
  1398. 00000D8C  2F0A                     move.l     -[A7], A2
  1399. 00000D8E  4EBA FFD0                jsr        [PC - 0x30 /* 00000D60 */]
  1400. 00000D92  2448                     movea.l    A2, A0
  1401. 00000D94  200A                     move.l     D0, A2
  1402. 00000D96  584F                     addq.w     A7, 4
  1403. 00000D98  6708                     beq        +0xA /* 00000DA2 */
  1404. 00000D9A  7000                     moveq.l    D0, 0x00
  1405. 00000D9C  102A 006E                move.b     D0, [A2 + 0x6E]
  1406. 00000DA0  67EA                     beq        -0x14 /* 00000D8C */
  1407. label00000DA2:
  1408. 00000DA2  204A                     movea.l    A0, A2
  1409. 00000DA4  245F                     movea.l    A2, [A7]+
  1410. 00000DA6  4E75                     rts
  1411. fn00000DA8:
  1412. 00000DA8  5D4F                     subq.w     A7, 6
  1413. 00000DAA  2EAF 000A                move.l     [A7], [A7 + 0xA]
  1414. 00000DAE  1F6F 000E 0004           move.b     [A7 + 0x4], [A7 + 0xE]
  1415. 00000DB4  4AAD 8768                tst.l      [A5 - 0x7898]
  1416. 00000DB8  670E                     beq        +0x10 /* 00000DC8 */
  1417. 00000DBA  41D7                     lea.l      A0, [A7]
  1418. 00000DBC  226D 8768                movea.l    A1, [A5 - 0x7898]
  1419. 00000DC0  7006                     moveq.l    D0, 0x06
  1420. 00000DC2  A9EF                     syscall    PtrAndHand
  1421. 00000DC4  5C4F                     addq.w     A7, 6
  1422. 00000DC6  4E75                     rts
  1423. label00000DC8:
  1424. 00000DC8  554F                     subq.w     A7, 2
  1425. 00000DCA  486F 0002                pea.l      [A7 + 0x2]
  1426. 00000DCE  486D 8768                pea.l      [A5 - 0x7898]
  1427. 00000DD2  4878 0006                push.l     0x6
  1428. 00000DD6  4EAD DA36                jsr        [A5 - 0x25CA]
  1429. 00000DDA  301F                     move.w     D0, [A7]+
  1430. 00000DDC  5C4F                     addq.w     A7, 6
  1431. 00000DDE  4E75                     rts
  1432. fn00000DE0:
  1433. 00000DE0  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  1434. 00000DE4  594F                     subq.w     A7, 4
  1435. 00000DE6  266F 0018                movea.l    A3, [A7 + 0x18]
  1436. 00000DEA  2F0B                     move.l     -[A7], A3
  1437. 00000DEC  4EBA 00EC                jsr        [PC + 0xEC /* 00000EDA */]
  1438. 00000DF0  2848                     movea.l    A4, A0
  1439. 00000DF2  486F 0004                pea.l      [A7 + 0x4]
  1440. 00000DF6  42A7                     clr.l      -[A7]
  1441. 00000DF8  2F0B                     move.l     -[A7], A3
  1442. 00000DFA  4EBA 0078                jsr        [PC + 0x78 /* 00000E74 */]
  1443. 00000DFE  4A80                     tst.l      D0
  1444. 00000E00  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1445. 00000E04  6766                     beq        +0x68 /* 00000E6C */
  1446. 00000E06  594F                     subq.w     A7, 4
  1447. 00000E08  2F2D 8768                move.l     -[A7], [A5 - 0x7898]
  1448. 00000E0C  4EAD D9AC                jsr        [A5 - 0x2654]
  1449. 00000E10  201F                     move.l     D0, [A7]+
  1450. 00000E12  7206                     moveq.l    D1, 0x06
  1451. 00000E14  4EAD D8FE                jsr        [A5 - 0x2702]
  1452. 00000E18  5380                     subq.l     D0, 1
  1453. 00000E1A  2600                     move.l     D3, D0
  1454. 00000E1C  B697                     cmp.l      D3, [A7]
  1455. 00000E1E  6F24                     ble        +0x26 /* 00000E44 */
  1456. 00000E20  2017                     move.l     D0, [A7]
  1457. 00000E22  7206                     moveq.l    D1, 0x06
  1458. 00000E24  4EAD D8F8                jsr        [A5 - 0x2708]
  1459. 00000E28  206D 8768                movea.l    A0, [A5 - 0x7898]
  1460. 00000E2C  2050                     movea.l    A0, [A0]
  1461. 00000E2E  D1C0                     add.l      A0, D0
  1462. 00000E30  2448                     movea.l    A2, A0
  1463. 00000E32  2003                     move.l     D0, D3
  1464. 00000E34  9097                     sub.l      D0, [A7]
  1465. 00000E36  7206                     moveq.l    D1, 0x06
  1466. 00000E38  4EAD D8F8                jsr        [A5 - 0x2708]
  1467. 00000E3C  41EA 0006                lea.l      A0, [A2 + 0x6]
  1468. 00000E40  224A                     movea.l    A1, A2
  1469. 00000E42  A02E                     syscall    BlockMove/BlockMoveData
  1470. label00000E44:
  1471. 00000E44  4A83                     tst.l      D3
  1472. 00000E46  6710                     beq        +0x12 /* 00000E58 */
  1473. 00000E48  2003                     move.l     D0, D3
  1474. 00000E4A  7206                     moveq.l    D1, 0x06
  1475. 00000E4C  4EAD D8F8                jsr        [A5 - 0x2708]
  1476. 00000E50  206D 8768                movea.l    A0, [A5 - 0x7898]
  1477. 00000E54  A024                     syscall    SetHandleSize
  1478. 00000E56  600A                     bra        +0xC /* 00000E62 */
  1479. label00000E58:
  1480. 00000E58  206D 8768                movea.l    A0, [A5 - 0x7898]
  1481. 00000E5C  A023                     syscall    DisposHandle/DisposeHandle
  1482. 00000E5E  42AD 8768                clr.l      [A5 - 0x7898]
  1483. label00000E62:
  1484. 00000E62  2F0B                     move.l     -[A7], A3
  1485. 00000E64  2F0C                     move.l     -[A7], A4
  1486. 00000E66  4EBA 086C                jsr        [PC + 0x86C /* 000016D4 */]
  1487. 00000E6A  504F                     addq.w     A7, 8
  1488. label00000E6C:
  1489. 00000E6C  584F                     addq.w     A7, 4
  1490. 00000E6E  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  1491. 00000E72  4E75                     rts
  1492. fn00000E74:
  1493. 00000E74  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1494. 00000E78  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  1495. 00000E7C  286F 0020                movea.l    A4, [A7 + 0x20]
  1496. 00000E80  266F 0024                movea.l    A3, [A7 + 0x24]
  1497. 00000E84  4AAD 8768                tst.l      [A5 - 0x7898]
  1498. 00000E88  6608                     bne        +0xA /* 00000E92 */
  1499. 00000E8A  7000                     moveq.l    D0, 0x00
  1500. 00000E8C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1501. 00000E90  4E75                     rts
  1502. label00000E92:
  1503. 00000E92  206D 8768                movea.l    A0, [A5 - 0x7898]
  1504. 00000E96  2450                     movea.l    A2, [A0]
  1505. 00000E98  594F                     subq.w     A7, 4
  1506. 00000E9A  2F2D 8768                move.l     -[A7], [A5 - 0x7898]
  1507. 00000E9E  4EAD D9AC                jsr        [A5 - 0x2654]
  1508. 00000EA2  201F                     move.l     D0, [A7]+
  1509. 00000EA4  7206                     moveq.l    D1, 0x06
  1510. 00000EA6  4EAD D8FE                jsr        [A5 - 0x2702]
  1511. 00000EAA  2800                     move.l     D4, D0
  1512. 00000EAC  7600                     moveq.l    D3, 0x00
  1513. 00000EAE  601E                     bra        +0x20 /* 00000ECE */
  1514. label00000EB0:
  1515. 00000EB0  BDD2                     cmpa.l     A6, [A2]
  1516. 00000EB2  6616                     bne        +0x18 /* 00000ECA */
  1517. 00000EB4  200B                     move.l     D0, A3
  1518. 00000EB6  6702                     beq        +0x4 /* 00000EBA */
  1519. 00000EB8  2683                     move.l     [A3], D3
  1520. label00000EBA:
  1521. 00000EBA  200C                     move.l     D0, A4
  1522. 00000EBC  6704                     beq        +0x6 /* 00000EC2 */
  1523. 00000EBE  18AA 0004                move.b     [A4], [A2 + 0x4]
  1524. label00000EC2:
  1525. 00000EC2  7001                     moveq.l    D0, 0x01
  1526. 00000EC4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1527. 00000EC8  4E75                     rts
  1528. label00000ECA:
  1529. 00000ECA  5283                     addq.l     D3, 1
  1530. 00000ECC  5C8A                     addq.l     A2, 6
  1531. label00000ECE:
  1532. 00000ECE  B684                     cmp.l      D3, D4
  1533. 00000ED0  6DDE                     blt        -0x20 /* 00000EB0 */
  1534. 00000ED2  7000                     moveq.l    D0, 0x00
  1535. 00000ED4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1536. 00000ED8  4E75                     rts
  1537. fn00000EDA:
  1538. 00000EDA  48E7 1020                movem.l    -[A7], D3,A2
  1539. 00000EDE  554F                     subq.w     A7, 2
  1540. 00000EE0  42A7                     clr.l      -[A7]
  1541. 00000EE2  486F 0005                pea.l      [A7 + 0x5]
  1542. 00000EE6  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  1543. 00000EEA  4EBA FF88                jsr        [PC - 0x78 /* 00000E74 */]
  1544. 00000EEE  4A80                     tst.l      D0
  1545. 00000EF0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1546. 00000EF4  660A                     bne        +0xC /* 00000F00 */
  1547. 00000EF6  91C8                     sub.l      A0, A0
  1548. 00000EF8  544F                     addq.w     A7, 2
  1549. 00000EFA  4CDF 0408                movem.l    D3,A2, [A7]+
  1550. 00000EFE  4E75                     rts
  1551. label00000F00:
  1552. 00000F00  45ED 876C                lea.l      A2, [A5 - 0x7894]
  1553. 00000F04  7600                     moveq.l    D3, 0x00
  1554. 00000F06  601A                     bra        +0x1C /* 00000F22 */
  1555. label00000F08:
  1556. 00000F08  102A 0018                move.b     D0, [A2 + 0x18]
  1557. 00000F0C  B02F 0001                cmp.b      D0, [A7 + 0x1]
  1558. 00000F10  660A                     bne        +0xC /* 00000F1C */
  1559. 00000F12  204A                     movea.l    A0, A2
  1560. 00000F14  544F                     addq.w     A7, 2
  1561. 00000F16  4CDF 0408                movem.l    D3,A2, [A7]+
  1562. 00000F1A  4E75                     rts
  1563. label00000F1C:
  1564. 00000F1C  5283                     addq.l     D3, 1
  1565. 00000F1E  7032                     moveq.l    D0, 0x32
  1566. 00000F20  D5C0                     add.l      A2, D0
  1567. label00000F22:
  1568. 00000F22  B6AD 8764                cmp.l      D3, [A5 - 0x789C]
  1569. 00000F26  6DE0                     blt        -0x1E /* 00000F08 */
  1570. 00000F28  91C8                     sub.l      A0, A0
  1571. 00000F2A  544F                     addq.w     A7, 2
  1572. 00000F2C  4CDF 0408                movem.l    D3,A2, [A7]+
  1573. 00000F30  4E75                     rts
  1574. fn00000F32:
  1575. 00000F32  48E7 0038                movem.l    -[A7], A2,A3,A4
  1576. 00000F36  286F 0010                movea.l    A4, [A7 + 0x10]
  1577. 00000F3A  594F                     subq.w     A7, 4
  1578. 00000F3C  A8D8                     syscall    NewRgn
  1579. 00000F3E  205F                     movea.l    A0, [A7]+
  1580. 00000F40  2648                     movea.l    A3, A0
  1581. 00000F42  200B                     move.l     D0, A3
  1582. 00000F44  6608                     bne        +0xA /* 00000F4E */
  1583. 00000F46  91C8                     sub.l      A0, A0
  1584. 00000F48  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1585. 00000F4C  4E75                     rts
  1586. label00000F4E:
  1587. 00000F4E  594F                     subq.w     A7, 4
  1588. 00000F50  2EB8 09D6                move.l     [A7], [0x000009D6 /* WindowList */]
  1589. 00000F54  205F                     movea.l    A0, [A7]+
  1590. 00000F56  2448                     movea.l    A2, A0
  1591. 00000F58  6016                     bra        +0x18 /* 00000F70 */
  1592. label00000F5A:
  1593. 00000F5A  206A 0072                movea.l    A0, [A2 + 0x72]
  1594. 00000F5E  4850                     pea.l      [A0]
  1595. 00000F60  2F0B                     move.l     -[A7], A3
  1596. 00000F62  2F0B                     move.l     -[A7], A3
  1597. 00000F64  A8E5                     syscall    UnionRgn
  1598. 00000F66  2F0A                     move.l     -[A7], A2
  1599. 00000F68  4EBA FDF6                jsr        [PC - 0x20A /* 00000D60 */]
  1600. 00000F6C  2448                     movea.l    A2, A0
  1601. 00000F6E  584F                     addq.w     A7, 4
  1602. label00000F70:
  1603. 00000F70  200A                     move.l     D0, A2
  1604. 00000F72  6704                     beq        +0x6 /* 00000F78 */
  1605. 00000F74  B5CC                     cmpa.l     A2, A4
  1606. 00000F76  66E2                     bne        -0x1C /* 00000F5A */
  1607. label00000F78:
  1608. 00000F78  204B                     movea.l    A0, A3
  1609. 00000F7A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1610. 00000F7E  4E75                     rts
  1611. fn00000F80:
  1612. 00000F80  206F 0004                movea.l    A0, [A7 + 0x4]
  1613. 00000F84  2028 000C                move.l     D0, [A0 + 0xC]
  1614. 00000F88  52A8 000C                addq.l     [A0 + 0xC], 1
  1615. 00000F8C  D080                     add.l      D0, D0
  1616. 00000F8E  31AF 0008 0800           move.w     [A0 + D0], [A7 + 0x8]
  1617. 00000F94  4E75                     rts
  1618. fn00000F96:
  1619. 00000F96  226F 0004                movea.l    A1, [A7 + 0x4]
  1620. 00000F9A  322F 0008                move.w     D1, [A7 + 0x8]
  1621. 00000F9E  2049                     movea.l    A0, A1
  1622. 00000FA0  7000                     moveq.l    D0, 0x00
  1623. 00000FA2  600C                     bra        +0xE /* 00000FB0 */
  1624. label00000FA4:
  1625. 00000FA4  B250                     cmp.w      D1, [A0]
  1626. 00000FA6  6604                     bne        +0x6 /* 00000FAC */
  1627. 00000FA8  7001                     moveq.l    D0, 0x01
  1628. 00000FAA  4E75                     rts
  1629. label00000FAC:
  1630. 00000FAC  5280                     addq.l     D0, 1
  1631. 00000FAE  5488                     addq.l     A0, 2
  1632. label00000FB0:
  1633. 00000FB0  B0A9 000C                cmp.l      D0, [A1 + 0xC]
  1634. 00000FB4  6DEE                     blt        -0x10 /* 00000FA4 */
  1635. 00000FB6  7000                     moveq.l    D0, 0x00
  1636. 00000FB8  4E75                     rts
  1637. fn00000FBA:
  1638. 00000FBA  48E7 1030                movem.l    -[A7], D3,A2,A3
  1639. 00000FBE  266F 0010                movea.l    A3, [A7 + 0x10]
  1640. 00000FC2  202B 0014                move.l     D0, [A3 + 0x14]
  1641. 00000FC6  7232                     moveq.l    D1, 0x32
  1642. 00000FC8  4EAD D8F8                jsr        [A5 - 0x2708]
  1643. 00000FCC  41ED 876C                lea.l      A0, [A5 - 0x7894]
  1644. 00000FD0  D1C0                     add.l      A0, D0
  1645. 00000FD2  41E8 0032                lea.l      A0, [A0 + 0x32]
  1646. 00000FD6  2448                     movea.l    A2, A0
  1647. 00000FD8  262B 0014                move.l     D3, [A3 + 0x14]
  1648. 00000FDC  5283                     addq.l     D3, 1
  1649. 00000FDE  6022                     bra        +0x24 /* 00001002 */
  1650. label00000FE0:
  1651. 00000FE0  4AAA 0010                tst.l      [A2 + 0x10]
  1652. 00000FE4  6716                     beq        +0x18 /* 00000FFC */
  1653. 00000FE6  0C2A 0002 0018           cmpi.b     [A2 + 0x18], 0x2
  1654. 00000FEC  660E                     bne        +0x10 /* 00000FFC */
  1655. 00000FEE  4AAA 001A                tst.l      [A2 + 0x1A]
  1656. 00000FF2  6708                     beq        +0xA /* 00000FFC */
  1657. 00000FF4  7001                     moveq.l    D0, 0x01
  1658. 00000FF6  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1659. 00000FFA  4E75                     rts
  1660. label00000FFC:
  1661. 00000FFC  5283                     addq.l     D3, 1
  1662. 00000FFE  7032                     moveq.l    D0, 0x32
  1663. 00001000  D5C0                     add.l      A2, D0
  1664. label00001002:
  1665. 00001002  7003                     moveq.l    D0, 0x03
  1666. 00001004  B680                     cmp.l      D3, D0
  1667. 00001006  6DD8                     blt        -0x26 /* 00000FE0 */
  1668. 00001008  7000                     moveq.l    D0, 0x00
  1669. 0000100A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1670. 0000100E  4E75                     rts
  1671. fn00001010:
  1672. 00001010  48E7 1030                movem.l    -[A7], D3,A2,A3
  1673. 00001014  266F 0010                movea.l    A3, [A7 + 0x10]
  1674. 00001018  202B 0014                move.l     D0, [A3 + 0x14]
  1675. 0000101C  7232                     moveq.l    D1, 0x32
  1676. 0000101E  4EAD D8F8                jsr        [A5 - 0x2708]
  1677. 00001022  41ED 876C                lea.l      A0, [A5 - 0x7894]
  1678. 00001026  D1C0                     add.l      A0, D0
  1679. 00001028  41E8 0032                lea.l      A0, [A0 + 0x32]
  1680. 0000102C  2448                     movea.l    A2, A0
  1681. 0000102E  262B 0014                move.l     D3, [A3 + 0x14]
  1682. 00001032  5283                     addq.l     D3, 1
  1683. 00001034  601C                     bra        +0x1E /* 00001052 */
  1684. label00001036:
  1685. 00001036  4AAA 0010                tst.l      [A2 + 0x10]
  1686. 0000103A  671C                     beq        +0x1E /* 00001058 */
  1687. 0000103C  4AAA 001E                tst.l      [A2 + 0x1E]
  1688. 00001040  670A                     beq        +0xC /* 0000104C */
  1689. 00001042  206A 001E                movea.l    A0, [A2 + 0x1E]
  1690. 00001046  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1691. 0000104A  4E75                     rts
  1692. label0000104C:
  1693. 0000104C  5283                     addq.l     D3, 1
  1694. 0000104E  7032                     moveq.l    D0, 0x32
  1695. 00001050  D5C0                     add.l      A2, D0
  1696. label00001052:
  1697. 00001052  7003                     moveq.l    D0, 0x03
  1698. 00001054  B680                     cmp.l      D3, D0
  1699. 00001056  6DDE                     blt        -0x20 /* 00001036 */
  1700. label00001058:
  1701. 00001058  207C FFFF FFFF           movea.l    A0, 0xFFFFFFFF
  1702. 0000105E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1703. 00001062  4E75                     rts
  1704. fn00001064:
  1705. 00001064  48E7 0038                movem.l    -[A7], A2,A3,A4
  1706. 00001068  266F 0010                movea.l    A3, [A7 + 0x10]
  1707. 0000106C  286F 0014                movea.l    A4, [A7 + 0x14]
  1708. 00001070  246B 001A                movea.l    A2, [A3 + 0x1A]
  1709. label00001074:
  1710. 00001074  B5CC                     cmpa.l     A2, A4
  1711. 00001076  6608                     bne        +0xA /* 00001080 */
  1712. 00001078  7001                     moveq.l    D0, 0x01
  1713. 0000107A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1714. 0000107E  4E75                     rts
  1715. label00001080:
  1716. 00001080  B5EB 001E                cmpa.l     A2, [A3 + 0x1E]
  1717. 00001084  670C                     beq        +0xE /* 00001092 */
  1718. 00001086  2F0A                     move.l     -[A7], A2
  1719. 00001088  4EBA FCD6                jsr        [PC - 0x32A /* 00000D60 */]
  1720. 0000108C  2448                     movea.l    A2, A0
  1721. 0000108E  584F                     addq.w     A7, 4
  1722. 00001090  60E2                     bra        -0x1C /* 00001074 */
  1723. label00001092:
  1724. 00001092  7000                     moveq.l    D0, 0x00
  1725. 00001094  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1726. 00001098  4E75                     rts
  1727. fn0000109A:
  1728. 0000109A  2F0C                     move.l     -[A7], A4
  1729. 0000109C  206F 0008                movea.l    A0, [A7 + 0x8]
  1730. 000010A0  286F 000C                movea.l    A4, [A7 + 0xC]
  1731. 000010A4  226F 0010                movea.l    A1, [A7 + 0x10]
  1732. 000010A8  4AA8 0022                tst.l      [A0 + 0x22]
  1733. 000010AC  6606                     bne        +0x8 /* 000010B4 */
  1734. 000010AE  2168 001A 0022           move.l     [A0 + 0x22], [A0 + 0x1A]
  1735. label000010B4:
  1736. 000010B4  4AA8 002A                tst.l      [A0 + 0x2A]
  1737. 000010B8  6704                     beq        +0x6 /* 000010BE */
  1738. 000010BA  52A8 002A                addq.l     [A0 + 0x2A], 1
  1739. label000010BE:
  1740. 000010BE  4AA8 001A                tst.l      [A0 + 0x1A]
  1741. 000010C2  660C                     bne        +0xE /* 000010D0 */
  1742. 000010C4  214C 001E                move.l     [A0 + 0x1E], A4
  1743. 000010C8  214C 001A                move.l     [A0 + 0x1A], A4
  1744. 000010CC  285F                     movea.l    A4, [A7]+
  1745. 000010CE  4E75                     rts
  1746. label000010D0:
  1747. 000010D0  70FF                     moveq.l    D0, 0xFFFFFFFF
  1748. 000010D2  B3C0                     cmpa.l     A1, D0
  1749. 000010D4  6606                     bne        +0x8 /* 000010DC */
  1750. 000010D6  214C 001A                move.l     [A0 + 0x1A], A4
  1751. 000010DA  600E                     bra        +0x10 /* 000010EA */
  1752. label000010DC:
  1753. 000010DC  2009                     move.l     D0, A1
  1754. 000010DE  6706                     beq        +0x8 /* 000010E6 */
  1755. 000010E0  B3E8 001E                cmpa.l     A1, [A0 + 0x1E]
  1756. 000010E4  6604                     bne        +0x6 /* 000010EA */
  1757. label000010E6:
  1758. 000010E6  214C 001E                move.l     [A0 + 0x1E], A4
  1759. label000010EA:
  1760. 000010EA  285F                     movea.l    A4, [A7]+
  1761. 000010EC  4E75                     rts
  1762. fn000010EE:
  1763. 000010EE  48E7 0030                movem.l    -[A7], A2,A3
  1764. 000010F2  246F 000C                movea.l    A2, [A7 + 0xC]
  1765. 000010F6  266F 0010                movea.l    A3, [A7 + 0x10]
  1766. 000010FA  B7EA 001A                cmpa.l     A3, [A2 + 0x1A]
  1767. 000010FE  6706                     beq        +0x8 /* 00001106 */
  1768. 00001100  B7EA 001E                cmpa.l     A3, [A2 + 0x1E]
  1769. 00001104  663C                     bne        +0x3E /* 00001142 */
  1770. label00001106:
  1771. 00001106  B7EA 001A                cmpa.l     A3, [A2 + 0x1A]
  1772. 0000110A  6622                     bne        +0x24 /* 0000112E */
  1773. 0000110C  206A 001A                movea.l    A0, [A2 + 0x1A]
  1774. 00001110  B1EA 001E                cmpa.l     A0, [A2 + 0x1E]
  1775. 00001114  660A                     bne        +0xC /* 00001120 */
  1776. 00001116  42AA 001E                clr.l      [A2 + 0x1E]
  1777. 0000111A  42AA 001A                clr.l      [A2 + 0x1A]
  1778. 0000111E  600E                     bra        +0x10 /* 0000112E */
  1779. label00001120:
  1780. 00001120  2F2A 001A                move.l     -[A7], [A2 + 0x1A]
  1781. 00001124  4EBA FC3A                jsr        [PC - 0x3C6 /* 00000D60 */]
  1782. 00001128  2548 001A                move.l     [A2 + 0x1A], A0
  1783. 0000112C  584F                     addq.w     A7, 4
  1784. label0000112E:
  1785. 0000112E  B7EA 001E                cmpa.l     A3, [A2 + 0x1E]
  1786. 00001132  660E                     bne        +0x10 /* 00001142 */
  1787. 00001134  2F2A 001E                move.l     -[A7], [A2 + 0x1E]
  1788. 00001138  4EBA FA4E                jsr        [PC - 0x5B2 /* 00000B88 */]
  1789. 0000113C  2548 001E                move.l     [A2 + 0x1E], A0
  1790. 00001140  584F                     addq.w     A7, 4
  1791. label00001142:
  1792. 00001142  4CDF 0C00                movem.l    A2,A3, [A7]+
  1793. 00001146  4E75                     rts
  1794. fn00001148:
  1795. 00001148  48E7 1030                movem.l    -[A7], D3,A2,A3
  1796. 0000114C  246F 0010                movea.l    A2, [A7 + 0x10]
  1797. 00001150  266F 0014                movea.l    A3, [A7 + 0x14]
  1798. 00001154  2F0B                     move.l     -[A7], A3
  1799. 00001156  4227                     clr.b      -[A7]
  1800. 00001158  A908                     syscall    ShowHide
  1801. 0000115A  7000                     moveq.l    D0, 0x00
  1802. 0000115C  102A 0018                move.b     D0, [A2 + 0x18]
  1803. 00001160  6712                     beq        +0x14 /* 00001174 */
  1804. 00001162  5380                     subq.l     D0, 1
  1805. 00001164  6708                     beq        +0xA /* 0000116E */
  1806. 00001166  5380                     subq.l     D0, 1
  1807. 00001168  673C                     beq        +0x3E /* 000011A6 */
  1808. 0000116A  6000 00D8                bra        +0xDA /* 00001244 */
  1809. label0000116E:
  1810. 0000116E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1811. 00001172  4E75                     rts
  1812. label00001174:
  1813. 00001174  B7EA 001A                cmpa.l     A3, [A2 + 0x1A]
  1814. 00001178  6600 00CA                bne        +0xCC /* 00001244 */
  1815. 0000117C  B7EA 001E                cmpa.l     A3, [A2 + 0x1E]
  1816. 00001180  6700 00C2                beq        +0xC4 /* 00001244 */
  1817. 00001184  2F0A                     move.l     -[A7], A2
  1818. 00001186  4EBA FE32                jsr        [PC - 0x1CE /* 00000FBA */]
  1819. 0000118A  4A80                     tst.l      D0
  1820. 0000118C  584F                     addq.w     A7, 4
  1821. 0000118E  6600 00B4                bne        +0xB6 /* 00001244 */
  1822. 00001192  2F0B                     move.l     -[A7], A3
  1823. 00001194  4EBA FBF0                jsr        [PC - 0x410 /* 00000D86 */]
  1824. 00001198  584F                     addq.w     A7, 4
  1825. 0000119A  2F08                     move.l     -[A7], A0
  1826. 0000119C  1F3C 0001                move.b     -[A7], 0x1
  1827. 000011A0  A91C                     syscall    HiliteWindow
  1828. 000011A2  6000 00A0                bra        +0xA2 /* 00001244 */
  1829. label000011A6:
  1830. 000011A6  B7EA 001E                cmpa.l     A3, [A2 + 0x1E]
  1831. 000011AA  671A                     beq        +0x1C /* 000011C6 */
  1832. 000011AC  B7EA 001A                cmpa.l     A3, [A2 + 0x1A]
  1833. 000011B0  6614                     bne        +0x16 /* 000011C6 */
  1834. 000011B2  2F0B                     move.l     -[A7], A3
  1835. 000011B4  4EBA FBD0                jsr        [PC - 0x430 /* 00000D86 */]
  1836. 000011B8  584F                     addq.w     A7, 4
  1837. 000011BA  2F08                     move.l     -[A7], A0
  1838. 000011BC  1F3C 0001                move.b     -[A7], 0x1
  1839. 000011C0  A91C                     syscall    HiliteWindow
  1840. 000011C2  6000 0080                bra        +0x82 /* 00001244 */
  1841. label000011C6:
  1842. 000011C6  206A 001E                movea.l    A0, [A2 + 0x1E]
  1843. 000011CA  B1EA 001A                cmpa.l     A0, [A2 + 0x1A]
  1844. 000011CE  6674                     bne        +0x76 /* 00001244 */
  1845. 000011D0  202A 0014                move.l     D0, [A2 + 0x14]
  1846. 000011D4  7232                     moveq.l    D1, 0x32
  1847. 000011D6  4EAD D8F8                jsr        [A5 - 0x2708]
  1848. 000011DA  41ED 876C                lea.l      A0, [A5 - 0x7894]
  1849. 000011DE  D1C0                     add.l      A0, D0
  1850. 000011E0  41E8 FFCE                lea.l      A0, [A0 - 0x32]
  1851. 000011E4  2648                     movea.l    A3, A0
  1852. 000011E6  262A 0014                move.l     D3, [A2 + 0x14]
  1853. 000011EA  6054                     bra        +0x56 /* 00001240 */
  1854. label000011EC:
  1855. 000011EC  4AAB 0010                tst.l      [A3 + 0x10]
  1856. 000011F0  6748                     beq        +0x4A /* 0000123A */
  1857. 000011F2  0C2B 0001 0018           cmpi.b     [A3 + 0x18], 0x1
  1858. 000011F8  662C                     bne        +0x2E /* 00001226 */
  1859. 000011FA  2F0B                     move.l     -[A7], A3
  1860. 000011FC  4EBA 04F8                jsr        [PC + 0x4F8 /* 000016F6 */]
  1861. 00001200  246B 001A                movea.l    A2, [A3 + 0x1A]
  1862. 00001204  584F                     addq.w     A7, 4
  1863. 00001206  6018                     bra        +0x1A /* 00001220 */
  1864. label00001208:
  1865. 00001208  2F0A                     move.l     -[A7], A2
  1866. 0000120A  1F3C 0001                move.b     -[A7], 0x1
  1867. 0000120E  A91C                     syscall    HiliteWindow
  1868. 00001210  B5EB 001E                cmpa.l     A2, [A3 + 0x1E]
  1869. 00001214  6724                     beq        +0x26 /* 0000123A */
  1870. 00001216  2F0A                     move.l     -[A7], A2
  1871. 00001218  4EBA FB46                jsr        [PC - 0x4BA /* 00000D60 */]
  1872. 0000121C  2448                     movea.l    A2, A0
  1873. 0000121E  584F                     addq.w     A7, 4
  1874. label00001220:
  1875. 00001220  200A                     move.l     D0, A2
  1876. 00001222  66E4                     bne        -0x1A /* 00001208 */
  1877. 00001224  6014                     bra        +0x16 /* 0000123A */
  1878. label00001226:
  1879. 00001226  4AAB 001A                tst.l      [A3 + 0x1A]
  1880. 0000122A  670E                     beq        +0x10 /* 0000123A */
  1881. 0000122C  2F2B 001A                move.l     -[A7], [A3 + 0x1A]
  1882. 00001230  1F3C 0001                move.b     -[A7], 0x1
  1883. 00001234  A91C                     syscall    HiliteWindow
  1884. 00001236  42AB 0022                clr.l      [A3 + 0x22]
  1885. label0000123A:
  1886. 0000123A  5383                     subq.l     D3, 1
  1887. 0000123C  7032                     moveq.l    D0, 0x32
  1888. 0000123E  97C0                     sub.l      A3, D0
  1889. label00001240:
  1890. 00001240  4A83                     tst.l      D3
  1891. 00001242  66A8                     bne        -0x56 /* 000011EC */
  1892. label00001244:
  1893. 00001244  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1894. 00001248  4E75                     rts
  1895. fn0000124A:
  1896. 0000124A  48E7 0038                movem.l    -[A7], A2,A3,A4
  1897. 0000124E  286F 0010                movea.l    A4, [A7 + 0x10]
  1898. 00001252  266F 0014                movea.l    A3, [A7 + 0x14]
  1899. 00001256  7000                     moveq.l    D0, 0x00
  1900. 00001258  102C 0018                move.b     D0, [A4 + 0x18]
  1901. 0000125C  6730                     beq        +0x32 /* 0000128E */
  1902. 0000125E  5380                     subq.l     D0, 1
  1903. 00001260  6708                     beq        +0xA /* 0000126A */
  1904. 00001262  5380                     subq.l     D0, 1
  1905. 00001264  6772                     beq        +0x74 /* 000012D8 */
  1906. 00001266  6000 00C4                bra        +0xC6 /* 0000132C */
  1907. label0000126A:
  1908. 0000126A  4AAD 8760                tst.l      [A5 - 0x78A0]
  1909. 0000126E  6600 00E2                bne        +0xE4 /* 00001352 */
  1910. 00001272  2F0B                     move.l     -[A7], A3
  1911. 00001274  2F0C                     move.l     -[A7], A4
  1912. 00001276  4EBA FD42                jsr        [PC - 0x2BE /* 00000FBA */]
  1913. 0000127A  4A80                     tst.l      D0
  1914. 0000127C  57C0                     seq        D0
  1915. 0000127E  4400                     neg.b      D0
  1916. 00001280  4880                     ext.w      D0
  1917. 00001282  48C0                     ext.l      D0
  1918. 00001284  584F                     addq.w     A7, 4
  1919. 00001286  1F00                     move.b     -[A7], D0
  1920. 00001288  A91C                     syscall    HiliteWindow
  1921. 0000128A  6000 00A0                bra        +0xA2 /* 0000132C */
  1922. label0000128E:
  1923. 0000128E  2F0C                     move.l     -[A7], A4
  1924. 00001290  4EBA FD28                jsr        [PC - 0x2D8 /* 00000FBA */]
  1925. 00001294  4A80                     tst.l      D0
  1926. 00001296  584F                     addq.w     A7, 4
  1927. 00001298  6606                     bne        +0x8 /* 000012A0 */
  1928. 0000129A  4AAD 8760                tst.l      [A5 - 0x78A0]
  1929. 0000129E  670A                     beq        +0xC /* 000012AA */
  1930. label000012A0:
  1931. 000012A0  2F0B                     move.l     -[A7], A3
  1932. 000012A2  4227                     clr.b      -[A7]
  1933. 000012A4  A91C                     syscall    HiliteWindow
  1934. 000012A6  6000 0084                bra        +0x86 /* 0000132C */
  1935. label000012AA:
  1936. 000012AA  B7EC 001A                cmpa.l     A3, [A4 + 0x1A]
  1937. 000012AE  6608                     bne        +0xA /* 000012B8 */
  1938. 000012B0  2F0B                     move.l     -[A7], A3
  1939. 000012B2  1F3C 0001                move.b     -[A7], 0x1
  1940. 000012B6  A91C                     syscall    HiliteWindow
  1941. label000012B8:
  1942. 000012B8  B7EC 001A                cmpa.l     A3, [A4 + 0x1A]
  1943. 000012BC  666E                     bne        +0x70 /* 0000132C */
  1944. 000012BE  206C 001A                movea.l    A0, [A4 + 0x1A]
  1945. 000012C2  B1EC 001E                cmpa.l     A0, [A4 + 0x1E]
  1946. 000012C6  6764                     beq        +0x66 /* 0000132C */
  1947. 000012C8  2F0B                     move.l     -[A7], A3
  1948. 000012CA  4EBA FABA                jsr        [PC - 0x546 /* 00000D86 */]
  1949. 000012CE  584F                     addq.w     A7, 4
  1950. 000012D0  2F08                     move.l     -[A7], A0
  1951. 000012D2  4227                     clr.b      -[A7]
  1952. 000012D4  A91C                     syscall    HiliteWindow
  1953. 000012D6  6054                     bra        +0x56 /* 0000132C */
  1954. label000012D8:
  1955. 000012D8  B7EC 001A                cmpa.l     A3, [A4 + 0x1A]
  1956. 000012DC  6648                     bne        +0x4A /* 00001326 */
  1957. 000012DE  4AAD 8760                tst.l      [A5 - 0x78A0]
  1958. 000012E2  6642                     bne        +0x44 /* 00001326 */
  1959. 000012E4  2F0B                     move.l     -[A7], A3
  1960. 000012E6  1F3C 0001                move.b     -[A7], 0x1
  1961. 000012EA  A91C                     syscall    HiliteWindow
  1962. 000012EC  4AAD 875C                tst.l      [A5 - 0x78A4]
  1963. 000012F0  663A                     bne        +0x3C /* 0000132C */
  1964. 000012F2  B7EC 001E                cmpa.l     A3, [A4 + 0x1E]
  1965. 000012F6  661E                     bne        +0x20 /* 00001316 */
  1966. 000012F8  244B                     movea.l    A2, A3
  1967. 000012FA  6006                     bra        +0x8 /* 00001302 */
  1968. label000012FC:
  1969. 000012FC  2F0A                     move.l     -[A7], A2
  1970. 000012FE  4227                     clr.b      -[A7]
  1971. 00001300  A91C                     syscall    HiliteWindow
  1972. label00001302:
  1973. 00001302  2F0A                     move.l     -[A7], A2
  1974. 00001304  4EBA FA5A                jsr        [PC - 0x5A6 /* 00000D60 */]
  1975. 00001308  2448                     movea.l    A2, A0
  1976. 0000130A  2008                     move.l     D0, A0
  1977. 0000130C  584F                     addq.w     A7, 4
  1978. 0000130E  66EC                     bne        -0x12 /* 000012FC */
  1979. 00001310  4EBA F9EA                jsr        [PC - 0x616 /* 00000CFC */]
  1980. 00001314  6016                     bra        +0x18 /* 0000132C */
  1981. label00001316:
  1982. 00001316  2F0B                     move.l     -[A7], A3
  1983. 00001318  4EBA FA6C                jsr        [PC - 0x594 /* 00000D86 */]
  1984. 0000131C  584F                     addq.w     A7, 4
  1985. 0000131E  2F08                     move.l     -[A7], A0
  1986. 00001320  4227                     clr.b      -[A7]
  1987. 00001322  A91C                     syscall    HiliteWindow
  1988. 00001324  6006                     bra        +0x8 /* 0000132C */
  1989. label00001326:
  1990. 00001326  2F0B                     move.l     -[A7], A3
  1991. 00001328  4227                     clr.b      -[A7]
  1992. 0000132A  A91C                     syscall    HiliteWindow
  1993. label0000132C:
  1994. 0000132C  B7EC 001A                cmpa.l     A3, [A4 + 0x1A]
  1995. 00001330  6618                     bne        +0x1A /* 0000134A */
  1996. 00001332  B7EC 001E                cmpa.l     A3, [A4 + 0x1E]
  1997. 00001336  6606                     bne        +0x8 /* 0000133E */
  1998. 00001338  42AC 0022                clr.l      [A4 + 0x22]
  1999. 0000133C  600C                     bra        +0xE /* 0000134A */
  2000. label0000133E:
  2001. 0000133E  2F0B                     move.l     -[A7], A3
  2002. 00001340  4EBA FA1E                jsr        [PC - 0x5E2 /* 00000D60 */]
  2003. 00001344  2948 0022                move.l     [A4 + 0x22], A0
  2004. 00001348  584F                     addq.w     A7, 4
  2005. label0000134A:
  2006. 0000134A  2F0B                     move.l     -[A7], A3
  2007. 0000134C  1F3C 0001                move.b     -[A7], 0x1
  2008. 00001350  A908                     syscall    ShowHide
  2009. label00001352:
  2010. 00001352  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  2011. 00001356  4E75                     rts
  2012. fn00001358:
  2013. 00001358  48E7 0038                movem.l    -[A7], A2,A3,A4
  2014. 0000135C  246F 0010                movea.l    A2, [A7 + 0x10]
  2015. 00001360  266F 0014                movea.l    A3, [A7 + 0x14]
  2016. 00001364  B7EA 001A                cmpa.l     A3, [A2 + 0x1A]
  2017. 00001368  6700 00D8                beq        +0xDA /* 00001442 */
  2018. 0000136C  2F0A                     move.l     -[A7], A2
  2019. 0000136E  4EBA FCA0                jsr        [PC - 0x360 /* 00001010 */]
  2020. 00001372  2848                     movea.l    A4, A0
  2021. 00001374  B7EA 001E                cmpa.l     A3, [A2 + 0x1E]
  2022. 00001378  584F                     addq.w     A7, 4
  2023. 0000137A  660E                     bne        +0x10 /* 0000138A */
  2024. 0000137C  2F2A 001E                move.l     -[A7], [A2 + 0x1E]
  2025. 00001380  4EBA F806                jsr        [PC - 0x7FA /* 00000B88 */]
  2026. 00001384  2548 001E                move.l     [A2 + 0x1E], A0
  2027. 00001388  584F                     addq.w     A7, 4
  2028. label0000138A:
  2029. 0000138A  254B 001A                move.l     [A2 + 0x1A], A3
  2030. 0000138E  200C                     move.l     D0, A4
  2031. 00001390  6706                     beq        +0x8 /* 00001398 */
  2032. 00001392  70FF                     moveq.l    D0, 0xFFFFFFFF
  2033. 00001394  B9C0                     cmpa.l     A4, D0
  2034. 00001396  6606                     bne        +0x8 /* 0000139E */
  2035. label00001398:
  2036. 00001398  2F0B                     move.l     -[A7], A3
  2037. 0000139A  A920                     syscall    BringToFront
  2038. 0000139C  6022                     bra        +0x24 /* 000013C0 */
  2039. label0000139E:
  2040. 0000139E  2F0B                     move.l     -[A7], A3
  2041. 000013A0  2F0C                     move.l     -[A7], A4
  2042. 000013A2  A921                     syscall    SendBehind
  2043. 000013A4  2F0B                     move.l     -[A7], A3
  2044. 000013A6  4EBA FB8A                jsr        [PC - 0x476 /* 00000F32 */]
  2045. 000013AA  2848                     movea.l    A4, A0
  2046. 000013AC  200C                     move.l     D0, A4
  2047. 000013AE  584F                     addq.w     A7, 4
  2048. 000013B0  670A                     beq        +0xC /* 000013BC */
  2049. 000013B2  2F0B                     move.l     -[A7], A3
  2050. 000013B4  2F0C                     move.l     -[A7], A4
  2051. 000013B6  A90C                     syscall    PaintOne
  2052. 000013B8  2F0C                     move.l     -[A7], A4
  2053. 000013BA  A8D9                     syscall    DisposRgn/DisposeRgn
  2054. label000013BC:
  2055. 000013BC  2F0B                     move.l     -[A7], A3
  2056. 000013BE  A909                     syscall    CalcVis
  2057. label000013C0:
  2058. 000013C0  7000                     moveq.l    D0, 0x00
  2059. 000013C2  102A 0018                move.b     D0, [A2 + 0x18]
  2060. 000013C6  6724                     beq        +0x26 /* 000013EC */
  2061. 000013C8  5380                     subq.l     D0, 1
  2062. 000013CA  6706                     beq        +0x8 /* 000013D2 */
  2063. 000013CC  5380                     subq.l     D0, 1
  2064. 000013CE  6750                     beq        +0x52 /* 00001420 */
  2065. 000013D0  6070                     bra        +0x72 /* 00001442 */
  2066. label000013D2:
  2067. 000013D2  2F0B                     move.l     -[A7], A3
  2068. 000013D4  2F0A                     move.l     -[A7], A2
  2069. 000013D6  4EBA FBE2                jsr        [PC - 0x41E /* 00000FBA */]
  2070. 000013DA  4A80                     tst.l      D0
  2071. 000013DC  57C0                     seq        D0
  2072. 000013DE  4400                     neg.b      D0
  2073. 000013E0  4880                     ext.w      D0
  2074. 000013E2  48C0                     ext.l      D0
  2075. 000013E4  584F                     addq.w     A7, 4
  2076. 000013E6  1F00                     move.b     -[A7], D0
  2077. 000013E8  A91C                     syscall    HiliteWindow
  2078. 000013EA  6056                     bra        +0x58 /* 00001442 */
  2079. label000013EC:
  2080. 000013EC  206A 001A                movea.l    A0, [A2 + 0x1A]
  2081. 000013F0  B1EA 001E                cmpa.l     A0, [A2 + 0x1E]
  2082. 000013F4  6710                     beq        +0x12 /* 00001406 */
  2083. 000013F6  2F2A 001A                move.l     -[A7], [A2 + 0x1A]
  2084. 000013FA  4EBA F98A                jsr        [PC - 0x676 /* 00000D86 */]
  2085. 000013FE  584F                     addq.w     A7, 4
  2086. 00001400  2F08                     move.l     -[A7], A0
  2087. 00001402  4227                     clr.b      -[A7]
  2088. 00001404  A91C                     syscall    HiliteWindow
  2089. label00001406:
  2090. 00001406  2F0B                     move.l     -[A7], A3
  2091. 00001408  2F0A                     move.l     -[A7], A2
  2092. 0000140A  4EBA FBAE                jsr        [PC - 0x452 /* 00000FBA */]
  2093. 0000140E  4A80                     tst.l      D0
  2094. 00001410  57C0                     seq        D0
  2095. 00001412  4400                     neg.b      D0
  2096. 00001414  4880                     ext.w      D0
  2097. 00001416  48C0                     ext.l      D0
  2098. 00001418  584F                     addq.w     A7, 4
  2099. 0000141A  1F00                     move.b     -[A7], D0
  2100. 0000141C  A91C                     syscall    HiliteWindow
  2101. 0000141E  6022                     bra        +0x24 /* 00001442 */
  2102. label00001420:
  2103. 00001420  206A 001A                movea.l    A0, [A2 + 0x1A]
  2104. 00001424  B1EA 001E                cmpa.l     A0, [A2 + 0x1E]
  2105. 00001428  6710                     beq        +0x12 /* 0000143A */
  2106. 0000142A  2F2A 001A                move.l     -[A7], [A2 + 0x1A]
  2107. 0000142E  4EBA F956                jsr        [PC - 0x6AA /* 00000D86 */]
  2108. 00001432  584F                     addq.w     A7, 4
  2109. 00001434  2F08                     move.l     -[A7], A0
  2110. 00001436  4227                     clr.b      -[A7]
  2111. 00001438  A91C                     syscall    HiliteWindow
  2112. label0000143A:
  2113. 0000143A  2F0B                     move.l     -[A7], A3
  2114. 0000143C  1F3C 0001                move.b     -[A7], 0x1
  2115. 00001440  A91C                     syscall    HiliteWindow
  2116. label00001442:
  2117. 00001442  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  2118. 00001446  4E75                     rts
  2119. fn00001448:
  2120. 00001448  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  2121. 0000144C  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2122. 00001450  2A2F 0034                move.l     D5, [A7 + 0x34]
  2123. 00001454  2C6F 0038                movea.l    A6, [A7 + 0x38]
  2124. 00001458  2C2F 0040                move.l     D6, [A7 + 0x40]
  2125. 0000145C  594F                     subq.w     A7, 4
  2126. 0000145E  A8D8                     syscall    NewRgn
  2127. 00001460  205F                     movea.l    A0, [A7]+
  2128. 00001462  2648                     movea.l    A3, A0
  2129. 00001464  200B                     move.l     D0, A3
  2130. 00001466  6700 0130                beq        +0x132 /* 00001598 */
  2131. 0000146A  594F                     subq.w     A7, 4
  2132. 0000146C  A8D8                     syscall    NewRgn
  2133. 0000146E  205F                     movea.l    A0, [A7]+
  2134. 00001470  2848                     movea.l    A4, A0
  2135. 00001472  200C                     move.l     D0, A4
  2136. 00001474  660E                     bne        +0x10 /* 00001484 */
  2137. 00001476  2F0B                     move.l     -[A7], A3
  2138. 00001478  A8D9                     syscall    DisposRgn/DisposeRgn
  2139. 0000147A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2140. 0000147E  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  2141. 00001482  4E75                     rts
  2142. label00001484:
  2143. 00001484  4EBA F73A                jsr        [PC - 0x8C6 /* 00000BC0 */]
  2144. 00001488  4A80                     tst.l      D0
  2145. 0000148A  57C0                     seq        D0
  2146. 0000148C  4400                     neg.b      D0
  2147. 0000148E  4880                     ext.w      D0
  2148. 00001490  48C0                     ext.l      D0
  2149. 00001492  2800                     move.l     D4, D0
  2150. 00001494  486F 0008                pea.l      [A7 + 0x8]
  2151. 00001498  A910                     syscall    GetWMgrPort
  2152. 0000149A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  2153. 0000149E  4EAD DD40                jsr        [A5 - 0x22C0]
  2154. 000014A2  42A7                     clr.l      -[A7]
  2155. 000014A4  4EAD DD50                jsr        [A5 - 0x22B0]
  2156. 000014A8  4A84                     tst.l      D4
  2157. 000014AA  504F                     addq.w     A7, 8
  2158. 000014AC  660E                     bne        +0x10 /* 000014BC */
  2159. 000014AE  2F0E                     move.l     -[A7], A6
  2160. 000014B0  2F0B                     move.l     -[A7], A3
  2161. 000014B2  2F05                     move.l     -[A7], D5
  2162. 000014B4  4EBA 00EC                jsr        [PC + 0xEC /* 000015A2 */]
  2163. 000014B8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2164. label000014BC:
  2165. 000014BC  2045                     movea.l    A0, D5
  2166. 000014BE  2028 0014                move.l     D0, [A0 + 0x14]
  2167. 000014C2  7232                     moveq.l    D1, 0x32
  2168. 000014C4  4EAD D8F8                jsr        [A5 - 0x2708]
  2169. 000014C8  41ED 876C                lea.l      A0, [A5 - 0x7894]
  2170. 000014CC  D1C0                     add.l      A0, D0
  2171. 000014CE  41E8 0032                lea.l      A0, [A0 + 0x32]
  2172. 000014D2  2448                     movea.l    A2, A0
  2173. 000014D4  2045                     movea.l    A0, D5
  2174. 000014D6  2628 0014                move.l     D3, [A0 + 0x14]
  2175. 000014DA  5283                     addq.l     D3, 1
  2176. 000014DC  601A                     bra        +0x1C /* 000014F8 */
  2177. label000014DE:
  2178. 000014DE  4AAA 0010                tst.l      [A2 + 0x10]
  2179. 000014E2  670E                     beq        +0x10 /* 000014F2 */
  2180. 000014E4  42A7                     clr.l      -[A7]
  2181. 000014E6  2F0B                     move.l     -[A7], A3
  2182. 000014E8  2F0A                     move.l     -[A7], A2
  2183. 000014EA  4EBA 00B6                jsr        [PC + 0xB6 /* 000015A2 */]
  2184. 000014EE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2185. label000014F2:
  2186. 000014F2  5283                     addq.l     D3, 1
  2187. 000014F4  7032                     moveq.l    D0, 0x32
  2188. 000014F6  D5C0                     add.l      A2, D0
  2189. label000014F8:
  2190. 000014F8  7003                     moveq.l    D0, 0x03
  2191. 000014FA  B680                     cmp.l      D3, D0
  2192. 000014FC  6DE0                     blt        -0x1E /* 000014DE */
  2193. 000014FE  594F                     subq.w     A7, 4
  2194. 00001500  2EB8 09EE                move.l     [A7], [0x000009EE /* GrayRgn */]
  2195. 00001504  205F                     movea.l    A0, [A7]+
  2196. 00001506  2F08                     move.l     -[A7], A0
  2197. 00001508  2F0B                     move.l     -[A7], A3
  2198. 0000150A  2F0B                     move.l     -[A7], A3
  2199. 0000150C  A8E6                     syscall    DiffRgn
  2200. 0000150E  2F0B                     move.l     -[A7], A3
  2201. 00001510  A879                     syscall    SetClip
  2202. 00001512  2F0B                     move.l     -[A7], A3
  2203. 00001514  A8D9                     syscall    DisposRgn/DisposeRgn
  2204. 00001516  206E 0072                movea.l    A0, [A6 + 0x72]
  2205. 0000151A  2050                     movea.l    A0, [A0]
  2206. 0000151C  2EA8 0002                move.l     [A7], [A0 + 0x2]
  2207. 00001520  2F68 0006 0004           move.l     [A7 + 0x4], [A0 + 0x6]
  2208. 00001526  2F0C                     move.l     -[A7], A4
  2209. 00001528  486F 0004                pea.l      [A7 + 0x4]
  2210. 0000152C  A8DF                     syscall    RectRgn
  2211. 0000152E  7600                     moveq.l    D3, 0x00
  2212. 00001530  554F                     subq.w     A7, 2
  2213. 00001532  A973                     syscall    StillDown
  2214. 00001534  101F                     move.b     D0, [A7]+
  2215. 00001536  6716                     beq        +0x18 /* 0000154E */
  2216. 00001538  594F                     subq.w     A7, 4
  2217. 0000153A  2F0C                     move.l     -[A7], A4
  2218. 0000153C  2F2F 0044                move.l     -[A7], [A7 + 0x44]
  2219. 00001540  2F06                     move.l     -[A7], D6
  2220. 00001542  2F06                     move.l     -[A7], D6
  2221. 00001544  4267                     clr.w      -[A7]
  2222. 00001546  42A7                     clr.l      -[A7]
  2223. 00001548  A905                     syscall    DragGrayRgn
  2224. 0000154A  201F                     move.l     D0, [A7]+
  2225. 0000154C  2600                     move.l     D3, D0
  2226. label0000154E:
  2227. 0000154E  2F0C                     move.l     -[A7], A4
  2228. 00001550  A8D9                     syscall    DisposRgn/DisposeRgn
  2229. 00001552  4EAD DD58                jsr        [A5 - 0x22A8]
  2230. 00001556  4EAD DD48                jsr        [A5 - 0x22B8]
  2231. 0000155A  4A83                     tst.l      D3
  2232. 0000155C  6730                     beq        +0x32 /* 0000158E */
  2233. 0000155E  0C83 8000 8000           cmpi.l     D3, 0x80008000
  2234. 00001564  6728                     beq        +0x2A /* 0000158E */
  2235. 00001566  206E 0076                movea.l    A0, [A6 + 0x76]
  2236. 0000156A  2050                     movea.l    A0, [A0]
  2237. 0000156C  2F68 0002 000C           move.l     [A7 + 0xC], [A0 + 0x2]
  2238. 00001572  D76F 000E                add.w      [A7 + 0xE], D3
  2239. 00001576  2003                     move.l     D0, D3
  2240. 00001578  7210                     moveq.l    D1, 0x10
  2241. 0000157A  E2A0                     asr        D0, D1
  2242. 0000157C  D16F 000C                add.w      [A7 + 0xC], D0
  2243. 00001580  2F0E                     move.l     -[A7], A6
  2244. 00001582  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  2245. 00001586  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  2246. 0000158A  4227                     clr.b      -[A7]
  2247. 0000158C  A91B                     syscall    MoveWindow
  2248. label0000158E:
  2249. 0000158E  4A84                     tst.l      D4
  2250. 00001590  6706                     beq        +0x8 /* 00001598 */
  2251. 00001592  2F0E                     move.l     -[A7], A6
  2252. 00001594  4EBA F2D8                jsr        [PC - 0xD28 /* 0000086E */]
  2253. label00001598:
  2254. 00001598  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2255. 0000159C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  2256. 000015A0  4E75                     rts
  2257. fn000015A2:
  2258. 000015A2  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  2259. 000015A6  286F 0014                movea.l    A4, [A7 + 0x14]
  2260. 000015AA  266F 0018                movea.l    A3, [A7 + 0x18]
  2261. 000015AE  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  2262. 000015B2  246C 001A                movea.l    A2, [A4 + 0x1A]
  2263. 000015B6  6024                     bra        +0x26 /* 000015DC */
  2264. label000015B8:
  2265. 000015B8  7000                     moveq.l    D0, 0x00
  2266. 000015BA  102A 006E                move.b     D0, [A2 + 0x6E]
  2267. 000015BE  670C                     beq        +0xE /* 000015CC */
  2268. 000015C0  2F0B                     move.l     -[A7], A3
  2269. 000015C2  206A 0072                movea.l    A0, [A2 + 0x72]
  2270. 000015C6  4850                     pea.l      [A0]
  2271. 000015C8  2F0B                     move.l     -[A7], A3
  2272. 000015CA  A8E5                     syscall    UnionRgn
  2273. label000015CC:
  2274. 000015CC  B5EC 001E                cmpa.l     A2, [A4 + 0x1E]
  2275. 000015D0  6712                     beq        +0x14 /* 000015E4 */
  2276. 000015D2  2F0A                     move.l     -[A7], A2
  2277. 000015D4  4EBA F78A                jsr        [PC - 0x876 /* 00000D60 */]
  2278. 000015D8  2448                     movea.l    A2, A0
  2279. 000015DA  584F                     addq.w     A7, 4
  2280. label000015DC:
  2281. 000015DC  200A                     move.l     D0, A2
  2282. 000015DE  6704                     beq        +0x6 /* 000015E4 */
  2283. 000015E0  B5CE                     cmpa.l     A2, A6
  2284. 000015E2  66D4                     bne        -0x2A /* 000015B8 */
  2285. label000015E4:
  2286. 000015E4  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  2287. 000015E8  4E75                     rts
  2288. fn000015EA:
  2289. 000015EA  48E7 0030                movem.l    -[A7], A2,A3
  2290. 000015EE  246F 000C                movea.l    A2, [A7 + 0xC]
  2291. 000015F2  266F 0010                movea.l    A3, [A7 + 0x10]
  2292. 000015F6  4AAA 002A                tst.l      [A2 + 0x2A]
  2293. 000015FA  6712                     beq        +0x14 /* 0000160E */
  2294. 000015FC  2F0B                     move.l     -[A7], A3
  2295. 000015FE  2F0A                     move.l     -[A7], A2
  2296. 00001600  4EBA 0124                jsr        [PC + 0x124 /* 00001726 */]
  2297. 00001604  7001                     moveq.l    D0, 0x01
  2298. 00001606  504F                     addq.w     A7, 8
  2299. 00001608  4CDF 0C00                movem.l    A2,A3, [A7]+
  2300. 0000160C  4E75                     rts
  2301. label0000160E:
  2302. 0000160E  4AAA 001A                tst.l      [A2 + 0x1A]
  2303. 00001612  6610                     bne        +0x12 /* 00001624 */
  2304. 00001614  42AA 0022                clr.l      [A2 + 0x22]
  2305. 00001618  42AA 0026                clr.l      [A2 + 0x26]
  2306. 0000161C  7000                     moveq.l    D0, 0x00
  2307. 0000161E  4CDF 0C00                movem.l    A2,A3, [A7]+
  2308. 00001622  4E75                     rts
  2309. label00001624:
  2310. 00001624  2F0A                     move.l     -[A7], A2
  2311. 00001626  4EBA F992                jsr        [PC - 0x66E /* 00000FBA */]
  2312. 0000162A  4A80                     tst.l      D0
  2313. 0000162C  584F                     addq.w     A7, 4
  2314. 0000162E  6738                     beq        +0x3A /* 00001668 */
  2315. 00001630  4AAA 0022                tst.l      [A2 + 0x22]
  2316. 00001634  6708                     beq        +0xA /* 0000163E */
  2317. 00001636  0C2A 0001 0018           cmpi.b     [A2 + 0x18], 0x1
  2318. 0000163C  6608                     bne        +0xA /* 00001646 */
  2319. label0000163E:
  2320. 0000163E  7000                     moveq.l    D0, 0x00
  2321. 00001640  4CDF 0C00                movem.l    A2,A3, [A7]+
  2322. 00001644  4E75                     rts
  2323. label00001646:
  2324. 00001646  42AA 0026                clr.l      [A2 + 0x26]
  2325. 0000164A  42AA 0022                clr.l      [A2 + 0x22]
  2326. 0000164E  2F0B                     move.l     -[A7], A3
  2327. 00001650  4EBA F6DE                jsr        [PC - 0x922 /* 00000D30 */]
  2328. 00001654  276A 001A 0002           move.l     [A3 + 0x2], [A2 + 0x1A]
  2329. 0000165A  426B 000E                clr.w      [A3 + 0xE]
  2330. 0000165E  7001                     moveq.l    D0, 0x01
  2331. 00001660  584F                     addq.w     A7, 4
  2332. 00001662  4CDF 0C00                movem.l    A2,A3, [A7]+
  2333. 00001666  4E75                     rts
  2334. label00001668:
  2335. 00001668  206A 001A                movea.l    A0, [A2 + 0x1A]
  2336. 0000166C  B1EA 0022                cmpa.l     A0, [A2 + 0x22]
  2337. 00001670  675A                     beq        +0x5C /* 000016CC */
  2338. 00001672  2F0B                     move.l     -[A7], A3
  2339. 00001674  4EBA F6BA                jsr        [PC - 0x946 /* 00000D30 */]
  2340. 00001678  206A 0026                movea.l    A0, [A2 + 0x26]
  2341. 0000167C  B1EA 0022                cmpa.l     A0, [A2 + 0x22]
  2342. 00001680  584F                     addq.w     A7, 4
  2343. 00001682  6718                     beq        +0x1A /* 0000169C */
  2344. 00001684  2F2A 0022                move.l     -[A7], [A2 + 0x22]
  2345. 00001688  2F0A                     move.l     -[A7], A2
  2346. 0000168A  4EBA F9D8                jsr        [PC - 0x628 /* 00001064 */]
  2347. 0000168E  4A80                     tst.l      D0
  2348. 00001690  504F                     addq.w     A7, 8
  2349. 00001692  6708                     beq        +0xA /* 0000169C */
  2350. 00001694  0C2A 0001 0018           cmpi.b     [A2 + 0x18], 0x1
  2351. 0000169A  6618                     bne        +0x1A /* 000016B4 */
  2352. label0000169C:
  2353. 0000169C  256A 001A 0022           move.l     [A2 + 0x22], [A2 + 0x1A]
  2354. 000016A2  42AA 0026                clr.l      [A2 + 0x26]
  2355. 000016A6  276A 0022 0002           move.l     [A3 + 0x2], [A2 + 0x22]
  2356. 000016AC  377C 0001 000E           move.w     [A3 + 0xE], 0x1
  2357. 000016B2  6010                     bra        +0x12 /* 000016C4 */
  2358. label000016B4:
  2359. 000016B4  256A 0022 0026           move.l     [A2 + 0x26], [A2 + 0x22]
  2360. 000016BA  276A 0022 0002           move.l     [A3 + 0x2], [A2 + 0x22]
  2361. 000016C0  426B 000E                clr.w      [A3 + 0xE]
  2362. label000016C4:
  2363. 000016C4  7001                     moveq.l    D0, 0x01
  2364. 000016C6  4CDF 0C00                movem.l    A2,A3, [A7]+
  2365. 000016CA  4E75                     rts
  2366. label000016CC:
  2367. 000016CC  7000                     moveq.l    D0, 0x00
  2368. 000016CE  4CDF 0C00                movem.l    A2,A3, [A7]+
  2369. 000016D2  4E75                     rts
  2370. fn000016D4:
  2371. 000016D4  226F 0004                movea.l    A1, [A7 + 0x4]
  2372. 000016D8  206F 0008                movea.l    A0, [A7 + 0x8]
  2373. 000016DC  B1E9 0026                cmpa.l     A0, [A1 + 0x26]
  2374. 000016E0  6604                     bne        +0x6 /* 000016E6 */
  2375. 000016E2  42A9 0026                clr.l      [A1 + 0x26]
  2376. label000016E6:
  2377. 000016E6  206F 0008                movea.l    A0, [A7 + 0x8]
  2378. 000016EA  B1E9 0022                cmpa.l     A0, [A1 + 0x22]
  2379. 000016EE  6604                     bne        +0x6 /* 000016F4 */
  2380. 000016F0  42A9 0022                clr.l      [A1 + 0x22]
  2381. label000016F4:
  2382. 000016F4  4E75                     rts
  2383. fn000016F6:
  2384. 000016F6  48E7 0030                movem.l    -[A7], A2,A3
  2385. 000016FA  266F 000C                movea.l    A3, [A7 + 0xC]
  2386. 000016FE  42AB 002A                clr.l      [A3 + 0x2A]
  2387. 00001702  246B 001A                movea.l    A2, [A3 + 0x1A]
  2388. 00001706  6014                     bra        +0x16 /* 0000171C */
  2389. label00001708:
  2390. 00001708  52AB 002A                addq.l     [A3 + 0x2A], 1
  2391. 0000170C  B5EB 001E                cmpa.l     A2, [A3 + 0x1E]
  2392. 00001710  670E                     beq        +0x10 /* 00001720 */
  2393. 00001712  2F0A                     move.l     -[A7], A2
  2394. 00001714  4EBA F64A                jsr        [PC - 0x9B6 /* 00000D60 */]
  2395. 00001718  2448                     movea.l    A2, A0
  2396. 0000171A  584F                     addq.w     A7, 4
  2397. label0000171C:
  2398. 0000171C  200A                     move.l     D0, A2
  2399. 0000171E  66E8                     bne        -0x16 /* 00001708 */
  2400. label00001720:
  2401. 00001720  4CDF 0C00                movem.l    A2,A3, [A7]+
  2402. 00001724  4E75                     rts
  2403. fn00001726:
  2404. 00001726  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  2405. 0000172A  266F 0014                movea.l    A3, [A7 + 0x14]
  2406. 0000172E  286F 0018                movea.l    A4, [A7 + 0x18]
  2407. 00001732  4AAB 001A                tst.l      [A3 + 0x1A]
  2408. 00001736  6612                     bne        +0x14 /* 0000174A */
  2409. 00001738  42AB 0022                clr.l      [A3 + 0x22]
  2410. 0000173C  42AB 0026                clr.l      [A3 + 0x26]
  2411. 00001740  42AB 002A                clr.l      [A3 + 0x2A]
  2412. 00001744  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2413. 00001748  4E75                     rts
  2414. label0000174A:
  2415. 0000174A  246B 001A                movea.l    A2, [A3 + 0x1A]
  2416. 0000174E  53AB 002A                subq.l     [A3 + 0x2A], 1
  2417. 00001752  262B 002A                move.l     D3, [A3 + 0x2A]
  2418. 00001756  600A                     bra        +0xC /* 00001762 */
  2419. label00001758:
  2420. 00001758  2F0A                     move.l     -[A7], A2
  2421. 0000175A  4EBA F604                jsr        [PC - 0x9FC /* 00000D60 */]
  2422. 0000175E  2448                     movea.l    A2, A0
  2423. 00001760  584F                     addq.w     A7, 4
  2424. label00001762:
  2425. 00001762  2003                     move.l     D0, D3
  2426. 00001764  5383                     subq.l     D3, 1
  2427. 00001766  4A80                     tst.l      D0
  2428. 00001768  66EE                     bne        -0x10 /* 00001758 */
  2429. 0000176A  2F0C                     move.l     -[A7], A4
  2430. 0000176C  4EBA F5C2                jsr        [PC - 0xA3E /* 00000D30 */]
  2431. 00001770  294A 0002                move.l     [A4 + 0x2], A2
  2432. 00001774  7000                     moveq.l    D0, 0x00
  2433. 00001776  102A 006F                move.b     D0, [A2 + 0x6F]
  2434. 0000177A  584F                     addq.w     A7, 4
  2435. 0000177C  6708                     beq        +0xA /* 00001786 */
  2436. 0000177E  397C 0001 000E           move.w     [A4 + 0xE], 0x1
  2437. 00001784  6004                     bra        +0x6 /* 0000178A */
  2438. label00001786:
  2439. 00001786  426C 000E                clr.w      [A4 + 0xE]
  2440. label0000178A:
  2441. 0000178A  276B 001A 0022           move.l     [A3 + 0x22], [A3 + 0x1A]
  2442. 00001790  42AB 0026                clr.l      [A3 + 0x26]
  2443. 00001794  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2444. 00001798  4E75                     rts
  2445. fn0000179A:
  2446. 0000179A  226F 0004                movea.l    A1, [A7 + 0x4]
  2447. 0000179E  302D 135E                move.w     D0, [A5 + 0x135E]
  2448. 000017A2  48C0                     ext.l      D0
  2449. 000017A4  5280                     addq.l     D0, 1
  2450. 000017A6  ED88                     lsl        D0, 6
  2451. 000017A8  2049                     movea.l    A0, A1
  2452. 000017AA  D1C0                     add.l      A0, D0
  2453. 000017AC  2B50 8862                move.l     [A5 - 0x779E], [A0]
  2454. 000017B0  2B68 0004 885E           move.l     [A5 - 0x77A2], [A0 + 0x4]
  2455. 000017B6  302D 135E                move.w     D0, [A5 + 0x135E]
  2456. 000017BA  48C0                     ext.l      D0
  2457. 000017BC  5480                     addq.l     D0, 2
  2458. 000017BE  ED88                     lsl        D0, 6
  2459. 000017C0  2049                     movea.l    A0, A1
  2460. 000017C2  D1C0                     add.l      A0, D0
  2461. 000017C4  2B50 885A                move.l     [A5 - 0x77A6], [A0]
  2462. 000017C8  2B68 0004 8856           move.l     [A5 - 0x77AA], [A0 + 0x4]
  2463. 000017CE  2B68 0008 8852           move.l     [A5 - 0x77AE], [A0 + 0x8]
  2464. 000017D4  2B68 0010 884E           move.l     [A5 - 0x77B2], [A0 + 0x10]
  2465. 000017DA  2B68 0014 884A           move.l     [A5 - 0x77B6], [A0 + 0x14]
  2466. 000017E0  2B68 0018 8846           move.l     [A5 - 0x77BA], [A0 + 0x18]
  2467. 000017E6  2B68 0020 8842           move.l     [A5 - 0x77BE], [A0 + 0x20]
  2468. 000017EC  306D 1360                movea.w    A0, [A5 + 0x1360]
  2469. 000017F0  2008                     move.l     D0, A0
  2470. 000017F2  ED88                     lsl        D0, 6
  2471. 000017F4  2049                     movea.l    A0, A1
  2472. 000017F6  D1C0                     add.l      A0, D0
  2473. 000017F8  2B50 883E                move.l     [A5 - 0x77C2], [A0]
  2474. 000017FC  2B68 0004 883A           move.l     [A5 - 0x77C6], [A0 + 0x4]
  2475. 00001802  2B68 000C 8836           move.l     [A5 - 0x77CA], [A0 + 0xC]
  2476. 00001808  2B68 0010 8832           move.l     [A5 - 0x77CE], [A0 + 0x10]
  2477. 0000180E  2B68 0014 882E           move.l     [A5 - 0x77D2], [A0 + 0x14]
  2478. 00001814  2B68 0018 882A           move.l     [A5 - 0x77D6], [A0 + 0x18]
  2479. 0000181A  2B68 0020 8826           move.l     [A5 - 0x77DA], [A0 + 0x20]
  2480. 00001820  302D B414                move.w     D0, [A5 - 0x4BEC]
  2481. 00001824  48C0                     ext.l      D0
  2482. 00001826  5480                     addq.l     D0, 2
  2483. 00001828  E588                     lsl        D0, 2
  2484. 0000182A  2B70 0800 8822           move.l     [A5 - 0x77DE], [A0 + D0]
  2485. 00001830  302D B414                move.w     D0, [A5 - 0x4BEC]
  2486. 00001834  48C0                     ext.l      D0
  2487. 00001836  5880                     addq.l     D0, 4
  2488. 00001838  E588                     lsl        D0, 2
  2489. 0000183A  2B70 0800 881E           move.l     [A5 - 0x77E2], [A0 + D0]
  2490. 00001840  302D B414                move.w     D0, [A5 - 0x4BEC]
  2491. 00001844  48C0                     ext.l      D0
  2492. 00001846  5A80                     addq.l     D0, 5
  2493. 00001848  E588                     lsl        D0, 2
  2494. 0000184A  2B70 0800 881A           move.l     [A5 - 0x77E6], [A0 + D0]
  2495. 00001850  302D 135E                move.w     D0, [A5 + 0x135E]
  2496. 00001854  48C0                     ext.l      D0
  2497. 00001856  5A80                     addq.l     D0, 5
  2498. 00001858  ED88                     lsl        D0, 6
  2499. 0000185A  2049                     movea.l    A0, A1
  2500. 0000185C  D1C0                     add.l      A0, D0
  2501. 0000185E  2B50 8816                move.l     [A5 - 0x77EA], [A0]
  2502. 00001862  2B68 0004 8812           move.l     [A5 - 0x77EE], [A0 + 0x4]
  2503. 00001868  2B68 0008 880E           move.l     [A5 - 0x77F2], [A0 + 0x8]
  2504. 0000186E  302D 135E                move.w     D0, [A5 + 0x135E]
  2505. 00001872  48C0                     ext.l      D0
  2506. 00001874  5C80                     addq.l     D0, 6
  2507. 00001876  ED88                     lsl        D0, 6
  2508. 00001878  2049                     movea.l    A0, A1
  2509. 0000187A  D1C0                     add.l      A0, D0
  2510. 0000187C  2B50 880A                move.l     [A5 - 0x77F6], [A0]
  2511. 00001880  2B68 0004 8806           move.l     [A5 - 0x77FA], [A0 + 0x4]
  2512. 00001886  2B68 0008 8802           move.l     [A5 - 0x77FE], [A0 + 0x8]
  2513. 0000188C  4E75                     rts
  2514. 0000188E  48E7 1030                movem.l    -[A7], D3,A2,A3
  2515. 00001892  554F                     subq.w     A7, 2
  2516. 00001894  266F 0012                movea.l    A3, [A7 + 0x12]
  2517. 00001898  42A7                     clr.l      -[A7]
  2518. 0000189A  486F 0004                pea.l      [A7 + 0x4]
  2519. 0000189E  4EBA 39BC                jsr        [PC + 0x39BC /* 0000525C */]
  2520. 000018A2  2448                     movea.l    A2, A0
  2521. 000018A4  200B                     move.l     D0, A3
  2522. 000018A6  504F                     addq.w     A7, 8
  2523. 000018A8  660C                     bne        +0xE /* 000018B6 */
  2524. 000018AA  3F17                     move.w     -[A7], [A7]
  2525. 000018AC  2F0A                     move.l     -[A7], A2
  2526. 000018AE  4EBA 0060                jsr        [PC + 0x60 /* 00001910 */]
  2527. 000018B2  5C4F                     addq.w     A7, 6
  2528. 000018B4  604C                     bra        +0x4E /* 00001902 */
  2529. label000018B6:
  2530. 000018B6  362B 006C                move.w     D3, [A3 + 0x6C]
  2531. 000018BA  B66D B416                cmp.w      D3, [A5 - 0x4BEA]
  2532. 000018BE  6612                     bne        +0x14 /* 000018D2 */
  2533. 000018C0  2F0B                     move.l     -[A7], A3
  2534. 000018C2  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  2535. 000018C6  2F0A                     move.l     -[A7], A2
  2536. 000018C8  4EBA 03A4                jsr        [PC + 0x3A4 /* 00001C6E */]
  2537. 000018CC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2538. 000018D0  6030                     bra        +0x32 /* 00001902 */
  2539. label000018D2:
  2540. 000018D2  B66D B418                cmp.w      D3, [A5 - 0x4BE8]
  2541. 000018D6  6706                     beq        +0x8 /* 000018DE */
  2542. 000018D8  B66D B41A                cmp.w      D3, [A5 - 0x4BE6]
  2543. 000018DC  6612                     bne        +0x14 /* 000018F0 */
  2544. label000018DE:
  2545. 000018DE  2F0B                     move.l     -[A7], A3
  2546. 000018E0  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  2547. 000018E4  2F0A                     move.l     -[A7], A2
  2548. 000018E6  4EBA 00FC                jsr        [PC + 0xFC /* 000019E4 */]
  2549. 000018EA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2550. 000018EE  6012                     bra        +0x14 /* 00001902 */
  2551. label000018F0:
  2552. 000018F0  3003                     move.w     D0, D3
  2553. 000018F2  48C0                     ext.l      D0
  2554. 000018F4  4A80                     tst.l      D0
  2555. 000018F6  6C0A                     bge        +0xC /* 00001902 */
  2556. 000018F8  3F17                     move.w     -[A7], [A7]
  2557. 000018FA  2F0A                     move.l     -[A7], A2
  2558. 000018FC  4EBA 0220                jsr        [PC + 0x220 /* 00001B1E */]
  2559. 00001900  5C4F                     addq.w     A7, 6
  2560. label00001902:
  2561. 00001902  42A7                     clr.l      -[A7]
  2562. 00001904  4EBA 1532                jsr        [PC + 0x1532 /* 00002E38 */]
  2563. 00001908  5C4F                     addq.w     A7, 6
  2564. 0000190A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2565. 0000190E  4E75                     rts
  2566. fn00001910:
  2567. 00001910  4227                     clr.b      -[A7]
  2568. 00001912  42A7                     clr.l      -[A7]
  2569. 00001914  42A7                     clr.l      -[A7]
  2570. 00001916  42A7                     clr.l      -[A7]
  2571. 00001918  4EBA 140E                jsr        [PC + 0x140E /* 00002D28 */]
  2572. 0000191C  1F3C 0002                move.b     -[A7], 0x2
  2573. 00001920  2F2D 885E                move.l     -[A7], [A5 - 0x77A2]
  2574. 00001924  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  2575. 00001928  42A7                     clr.l      -[A7]
  2576. 0000192A  4EBA 13FC                jsr        [PC + 0x13FC /* 00002D28 */]
  2577. 0000192E  1F3C 0002                move.b     -[A7], 0x2
  2578. 00001932  2F2D 8856                move.l     -[A7], [A5 - 0x77AA]
  2579. 00001936  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2580. 0000193A  42A7                     clr.l      -[A7]
  2581. 0000193C  4EBA 13EA                jsr        [PC + 0x13EA /* 00002D28 */]
  2582. 00001940  1F3C 0003                move.b     -[A7], 0x3
  2583. 00001944  2F2D 8852                move.l     -[A7], [A5 - 0x77AE]
  2584. 00001948  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2585. 0000194C  42A7                     clr.l      -[A7]
  2586. 0000194E  4EBA 13D8                jsr        [PC + 0x13D8 /* 00002D28 */]
  2587. 00001952  1F3C 0003                move.b     -[A7], 0x3
  2588. 00001956  2F2D 884E                move.l     -[A7], [A5 - 0x77B2]
  2589. 0000195A  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2590. 0000195E  42A7                     clr.l      -[A7]
  2591. 00001960  4EBA 13C6                jsr        [PC + 0x13C6 /* 00002D28 */]
  2592. 00001964  1F3C 0003                move.b     -[A7], 0x3
  2593. 00001968  2F2D 884A                move.l     -[A7], [A5 - 0x77B6]
  2594. 0000196C  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2595. 00001970  42A7                     clr.l      -[A7]
  2596. 00001972  4EBA 13B4                jsr        [PC + 0x13B4 /* 00002D28 */]
  2597. 00001976  1F3C 0003                move.b     -[A7], 0x3
  2598. 0000197A  2F2D 8846                move.l     -[A7], [A5 - 0x77BA]
  2599. 0000197E  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2600. 00001982  42A7                     clr.l      -[A7]
  2601. 00001984  4EBA 13A2                jsr        [PC + 0x13A2 /* 00002D28 */]
  2602. 00001988  1F3C 0002                move.b     -[A7], 0x2
  2603. 0000198C  2F2D 8842                move.l     -[A7], [A5 - 0x77BE]
  2604. 00001990  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2605. 00001994  42A7                     clr.l      -[A7]
  2606. 00001996  4EBA 1390                jsr        [PC + 0x1390 /* 00002D28 */]
  2607. 0000199A  1F3C 0003                move.b     -[A7], 0x3
  2608. 0000199E  42A7                     clr.l      -[A7]
  2609. 000019A0  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2610. 000019A4  42A7                     clr.l      -[A7]
  2611. 000019A6  4EBA 1380                jsr        [PC + 0x1380 /* 00002D28 */]
  2612. 000019AA  1F3C 0003                move.b     -[A7], 0x3
  2613. 000019AE  42A7                     clr.l      -[A7]
  2614. 000019B0  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  2615. 000019B4  42A7                     clr.l      -[A7]
  2616. 000019B6  4EBA 1370                jsr        [PC + 0x1370 /* 00002D28 */]
  2617. 000019BA  1F3C 0003                move.b     -[A7], 0x3
  2618. 000019BE  42A7                     clr.l      -[A7]
  2619. 000019C0  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  2620. 000019C4  42A7                     clr.l      -[A7]
  2621. 000019C6  4EBA 1360                jsr        [PC + 0x1360 /* 00002D28 */]
  2622. 000019CA  4EBA 0666                jsr        [PC + 0x666 /* 00002032 */]
  2623. 000019CE  4AAF 009E                tst.l      [A7 + 0x9E]
  2624. 000019D2  4FEF 009A                lea.l      A7, [A7 + 0x9A]
  2625. 000019D6  670A                     beq        +0xC /* 000019E2 */
  2626. 000019D8  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2627. 000019DC  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  2628. 000019E0  A939                     syscall    EnableItem
  2629. label000019E2:
  2630. 000019E2  4E75                     rts
  2631. fn000019E4:
  2632. 000019E4  48E7 1030                movem.l    -[A7], D3,A2,A3
  2633. 000019E8  266F 0010                movea.l    A3, [A7 + 0x10]
  2634. 000019EC  246F 0016                movea.l    A2, [A7 + 0x16]
  2635. 000019F0  4267                     clr.w      -[A7]
  2636. 000019F2  42A7                     clr.l      -[A7]
  2637. 000019F4  4EBA 148E                jsr        [PC + 0x148E /* 00002E84 */]
  2638. 000019F8  1F3C 0001                move.b     -[A7], 0x1
  2639. 000019FC  42A7                     clr.l      -[A7]
  2640. 000019FE  42A7                     clr.l      -[A7]
  2641. 00001A00  42A7                     clr.l      -[A7]
  2642. 00001A02  4EBA 1324                jsr        [PC + 0x1324 /* 00002D28 */]
  2643. 00001A06  2F0A                     move.l     -[A7], A2
  2644. 00001A08  A80A                     syscall    GetWVariant
  2645. 00001A0A  301F                     move.w     D0, [A7]+
  2646. 00001A0C  3600                     move.w     D3, D0
  2647. 00001A0E  0C43 0005                cmpi.w     D3, 0x5
  2648. 00001A12  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2649. 00001A16  6706                     beq        +0x8 /* 00001A1E */
  2650. 00001A18  0C43 0004                cmpi.w     D3, 0x4
  2651. 00001A1C  6624                     bne        +0x26 /* 00001A42 */
  2652. label00001A1E:
  2653. 00001A1E  4227                     clr.b      -[A7]
  2654. 00001A20  42A7                     clr.l      -[A7]
  2655. 00001A22  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  2656. 00001A26  42A7                     clr.l      -[A7]
  2657. 00001A28  4EBA 12FE                jsr        [PC + 0x12FE /* 00002D28 */]
  2658. 00001A2C  1F3C 0003                move.b     -[A7], 0x3
  2659. 00001A30  2F2D 885E                move.l     -[A7], [A5 - 0x77A2]
  2660. 00001A34  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  2661. 00001A38  42A7                     clr.l      -[A7]
  2662. 00001A3A  4EBA 12EC                jsr        [PC + 0x12EC /* 00002D28 */]
  2663. 00001A3E  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2664. label00001A42:
  2665. 00001A42  302A 00A4                move.w     D0, [A2 + 0xA4]
  2666. 00001A46  48C0                     ext.l      D0
  2667. 00001A48  4A80                     tst.l      D0
  2668. 00001A4A  6C08                     bge        +0xA /* 00001A54 */
  2669. 00001A4C  4AAD AF7A                tst.l      [A5 - 0x5086]
  2670. 00001A50  6700 00B6                beq        +0xB8 /* 00001B08 */
  2671. label00001A54:
  2672. 00001A54  4227                     clr.b      -[A7]
  2673. 00001A56  42A7                     clr.l      -[A7]
  2674. 00001A58  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2675. 00001A5C  42A7                     clr.l      -[A7]
  2676. 00001A5E  4EBA 12C8                jsr        [PC + 0x12C8 /* 00002D28 */]
  2677. 00001A62  1F3C 0003                move.b     -[A7], 0x3
  2678. 00001A66  2F2D 883A                move.l     -[A7], [A5 - 0x77C6]
  2679. 00001A6A  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2680. 00001A6E  42A7                     clr.l      -[A7]
  2681. 00001A70  4EBA 12B6                jsr        [PC + 0x12B6 /* 00002D28 */]
  2682. 00001A74  1F3C 0002                move.b     -[A7], 0x2
  2683. 00001A78  2F2D 8836                move.l     -[A7], [A5 - 0x77CA]
  2684. 00001A7C  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2685. 00001A80  42A7                     clr.l      -[A7]
  2686. 00001A82  4EBA 12A4                jsr        [PC + 0x12A4 /* 00002D28 */]
  2687. 00001A86  1F3C 0002                move.b     -[A7], 0x2
  2688. 00001A8A  2F2D 8832                move.l     -[A7], [A5 - 0x77CE]
  2689. 00001A8E  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2690. 00001A92  42A7                     clr.l      -[A7]
  2691. 00001A94  4EBA 1292                jsr        [PC + 0x1292 /* 00002D28 */]
  2692. 00001A98  1F3C 0002                move.b     -[A7], 0x2
  2693. 00001A9C  2F2D 882E                move.l     -[A7], [A5 - 0x77D2]
  2694. 00001AA0  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2695. 00001AA4  42A7                     clr.l      -[A7]
  2696. 00001AA6  4EBA 1280                jsr        [PC + 0x1280 /* 00002D28 */]
  2697. 00001AAA  1F3C 0002                move.b     -[A7], 0x2
  2698. 00001AAE  2F2D 882A                move.l     -[A7], [A5 - 0x77D6]
  2699. 00001AB2  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2700. 00001AB6  42A7                     clr.l      -[A7]
  2701. 00001AB8  4EBA 126E                jsr        [PC + 0x126E /* 00002D28 */]
  2702. 00001ABC  1F3C 0003                move.b     -[A7], 0x3
  2703. 00001AC0  2F2D 8826                move.l     -[A7], [A5 - 0x77DA]
  2704. 00001AC4  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2705. 00001AC8  42A7                     clr.l      -[A7]
  2706. 00001ACA  4EBA 125C                jsr        [PC + 0x125C /* 00002D28 */]
  2707. 00001ACE  1F3C 0003                move.b     -[A7], 0x3
  2708. 00001AD2  2F2D 8822                move.l     -[A7], [A5 - 0x77DE]
  2709. 00001AD6  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2710. 00001ADA  42A7                     clr.l      -[A7]
  2711. 00001ADC  4EBA 124A                jsr        [PC + 0x124A /* 00002D28 */]
  2712. 00001AE0  1F3C 0003                move.b     -[A7], 0x3
  2713. 00001AE4  2F2D 881E                move.l     -[A7], [A5 - 0x77E2]
  2714. 00001AE8  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2715. 00001AEC  42A7                     clr.l      -[A7]
  2716. 00001AEE  4EBA 1238                jsr        [PC + 0x1238 /* 00002D28 */]
  2717. 00001AF2  1F3C 0003                move.b     -[A7], 0x3
  2718. 00001AF6  2F2D 881A                move.l     -[A7], [A5 - 0x77E6]
  2719. 00001AFA  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2720. 00001AFE  42A7                     clr.l      -[A7]
  2721. 00001B00  4EBA 1226                jsr        [PC + 0x1226 /* 00002D28 */]
  2722. 00001B04  4FEF 008C                lea.l      A7, [A7 + 0x8C]
  2723. label00001B08:
  2724. 00001B08  4EBA 0528                jsr        [PC + 0x528 /* 00002032 */]
  2725. 00001B0C  200B                     move.l     D0, A3
  2726. 00001B0E  6708                     beq        +0xA /* 00001B18 */
  2727. 00001B10  2F0B                     move.l     -[A7], A3
  2728. 00001B12  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  2729. 00001B16  A93A                     syscall    DisableItem
  2730. label00001B18:
  2731. 00001B18  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2732. 00001B1C  4E75                     rts
  2733. fn00001B1E:
  2734. 00001B1E  4267                     clr.w      -[A7]
  2735. 00001B20  42A7                     clr.l      -[A7]
  2736. 00001B22  4EBA 1360                jsr        [PC + 0x1360 /* 00002E84 */]
  2737. 00001B26  1F3C 0002                move.b     -[A7], 0x2
  2738. 00001B2A  2F2D 885E                move.l     -[A7], [A5 - 0x77A2]
  2739. 00001B2E  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  2740. 00001B32  42A7                     clr.l      -[A7]
  2741. 00001B34  4EBA 11F2                jsr        [PC + 0x11F2 /* 00002D28 */]
  2742. 00001B38  1F3C 0002                move.b     -[A7], 0x2
  2743. 00001B3C  2F2D 8856                move.l     -[A7], [A5 - 0x77AA]
  2744. 00001B40  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2745. 00001B44  42A7                     clr.l      -[A7]
  2746. 00001B46  4EBA 11E0                jsr        [PC + 0x11E0 /* 00002D28 */]
  2747. 00001B4A  1F3C 0003                move.b     -[A7], 0x3
  2748. 00001B4E  2F2D 8852                move.l     -[A7], [A5 - 0x77AE]
  2749. 00001B52  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2750. 00001B56  42A7                     clr.l      -[A7]
  2751. 00001B58  4EBA 11CE                jsr        [PC + 0x11CE /* 00002D28 */]
  2752. 00001B5C  1F3C 0003                move.b     -[A7], 0x3
  2753. 00001B60  2F2D 884E                move.l     -[A7], [A5 - 0x77B2]
  2754. 00001B64  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2755. 00001B68  42A7                     clr.l      -[A7]
  2756. 00001B6A  4EBA 11BC                jsr        [PC + 0x11BC /* 00002D28 */]
  2757. 00001B6E  1F3C 0003                move.b     -[A7], 0x3
  2758. 00001B72  2F2D 884A                move.l     -[A7], [A5 - 0x77B6]
  2759. 00001B76  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2760. 00001B7A  42A7                     clr.l      -[A7]
  2761. 00001B7C  4EBA 11AA                jsr        [PC + 0x11AA /* 00002D28 */]
  2762. 00001B80  1F3C 0003                move.b     -[A7], 0x3
  2763. 00001B84  2F2D 8846                move.l     -[A7], [A5 - 0x77BA]
  2764. 00001B88  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2765. 00001B8C  42A7                     clr.l      -[A7]
  2766. 00001B8E  4EBA 1198                jsr        [PC + 0x1198 /* 00002D28 */]
  2767. 00001B92  1F3C 0002                move.b     -[A7], 0x2
  2768. 00001B96  2F2D 8842                move.l     -[A7], [A5 - 0x77BE]
  2769. 00001B9A  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2770. 00001B9E  42A7                     clr.l      -[A7]
  2771. 00001BA0  4EBA 1186                jsr        [PC + 0x1186 /* 00002D28 */]
  2772. 00001BA4  1F3C 0002                move.b     -[A7], 0x2
  2773. 00001BA8  2F2D 883A                move.l     -[A7], [A5 - 0x77C6]
  2774. 00001BAC  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2775. 00001BB0  42A7                     clr.l      -[A7]
  2776. 00001BB2  4EBA 1174                jsr        [PC + 0x1174 /* 00002D28 */]
  2777. 00001BB6  1F3C 0002                move.b     -[A7], 0x2
  2778. 00001BBA  2F2D 8836                move.l     -[A7], [A5 - 0x77CA]
  2779. 00001BBE  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2780. 00001BC2  42A7                     clr.l      -[A7]
  2781. 00001BC4  4EBA 1162                jsr        [PC + 0x1162 /* 00002D28 */]
  2782. 00001BC8  1F3C 0002                move.b     -[A7], 0x2
  2783. 00001BCC  2F2D 8832                move.l     -[A7], [A5 - 0x77CE]
  2784. 00001BD0  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2785. 00001BD4  42A7                     clr.l      -[A7]
  2786. 00001BD6  4EBA 1150                jsr        [PC + 0x1150 /* 00002D28 */]
  2787. 00001BDA  1F3C 0002                move.b     -[A7], 0x2
  2788. 00001BDE  2F2D 882E                move.l     -[A7], [A5 - 0x77D2]
  2789. 00001BE2  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2790. 00001BE6  42A7                     clr.l      -[A7]
  2791. 00001BE8  4EBA 113E                jsr        [PC + 0x113E /* 00002D28 */]
  2792. 00001BEC  1F3C 0002                move.b     -[A7], 0x2
  2793. 00001BF0  2F2D 882A                move.l     -[A7], [A5 - 0x77D6]
  2794. 00001BF4  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2795. 00001BF8  42A7                     clr.l      -[A7]
  2796. 00001BFA  4EBA 112C                jsr        [PC + 0x112C /* 00002D28 */]
  2797. 00001BFE  1F3C 0003                move.b     -[A7], 0x3
  2798. 00001C02  2F2D 8826                move.l     -[A7], [A5 - 0x77DA]
  2799. 00001C06  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2800. 00001C0A  42A7                     clr.l      -[A7]
  2801. 00001C0C  4EBA 111A                jsr        [PC + 0x111A /* 00002D28 */]
  2802. 00001C10  1F3C 0003                move.b     -[A7], 0x3
  2803. 00001C14  2F2D 881E                move.l     -[A7], [A5 - 0x77E2]
  2804. 00001C18  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2805. 00001C1C  42A7                     clr.l      -[A7]
  2806. 00001C1E  4EBA 1108                jsr        [PC + 0x1108 /* 00002D28 */]
  2807. 00001C22  1F3C 0003                move.b     -[A7], 0x3
  2808. 00001C26  2F2D 881A                move.l     -[A7], [A5 - 0x77E6]
  2809. 00001C2A  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  2810. 00001C2E  42A7                     clr.l      -[A7]
  2811. 00001C30  4EBA 10F6                jsr        [PC + 0x10F6 /* 00002D28 */]
  2812. 00001C34  1F3C 0003                move.b     -[A7], 0x3
  2813. 00001C38  42A7                     clr.l      -[A7]
  2814. 00001C3A  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  2815. 00001C3E  42A7                     clr.l      -[A7]
  2816. 00001C40  4EBA 10E6                jsr        [PC + 0x10E6 /* 00002D28 */]
  2817. 00001C44  1F3C 0003                move.b     -[A7], 0x3
  2818. 00001C48  42A7                     clr.l      -[A7]
  2819. 00001C4A  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  2820. 00001C4E  42A7                     clr.l      -[A7]
  2821. 00001C50  4EBA 10D6                jsr        [PC + 0x10D6 /* 00002D28 */]
  2822. 00001C54  4EBA 03DC                jsr        [PC + 0x3DC /* 00002032 */]
  2823. 00001C58  4AAF 00F8                tst.l      [A7 + 0xF8]
  2824. 00001C5C  4FEF 00F4                lea.l      A7, [A7 + 0xF4]
  2825. 00001C60  670A                     beq        +0xC /* 00001C6C */
  2826. 00001C62  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2827. 00001C66  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  2828. 00001C6A  A939                     syscall    EnableItem
  2829. label00001C6C:
  2830. 00001C6C  4E75                     rts
  2831. fn00001C6E:
  2832. 00001C6E  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2833. 00001C72  266F 0018                movea.l    A3, [A7 + 0x18]
  2834. 00001C76  3A2F 001C                move.w     D5, [A7 + 0x1C]
  2835. 00001C7A  246F 001E                movea.l    A2, [A7 + 0x1E]
  2836. 00001C7E  1F3C 0002                move.b     -[A7], 0x2
  2837. 00001C82  2F2D 885E                move.l     -[A7], [A5 - 0x77A2]
  2838. 00001C86  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  2839. 00001C8A  42A7                     clr.l      -[A7]
  2840. 00001C8C  4EBA 109A                jsr        [PC + 0x109A /* 00002D28 */]
  2841. 00001C90  4AAD B2D8                tst.l      [A5 - 0x4D28]
  2842. 00001C94  6604                     bne        +0x6 /* 00001C9A */
  2843. 00001C96  7002                     moveq.l    D0, 0x02
  2844. 00001C98  6002                     bra        +0x4 /* 00001C9C */
  2845. label00001C9A:
  2846. 00001C9A  7001                     moveq.l    D0, 0x01
  2847. label00001C9C:
  2848. 00001C9C  1F00                     move.b     -[A7], D0
  2849. 00001C9E  2F2D 8856                move.l     -[A7], [A5 - 0x77AA]
  2850. 00001CA2  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2851. 00001CA6  42A7                     clr.l      -[A7]
  2852. 00001CA8  4EBA 107E                jsr        [PC + 0x107E /* 00002D28 */]
  2853. 00001CAC  7602                     moveq.l    D3, 0x02
  2854. 00001CAE  4AAD B2D8                tst.l      [A5 - 0x4D28]
  2855. 00001CB2  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2856. 00001CB6  6732                     beq        +0x34 /* 00001CEA */
  2857. 00001CB8  1F3C 0006                move.b     -[A7], 0x6
  2858. 00001CBC  2F0A                     move.l     -[A7], A2
  2859. 00001CBE  4EAD E818                jsr        [A5 - 0x17E8]
  2860. 00001CC2  3810                     move.w     D4, [A0]
  2861. 00001CC4  1F3C 000A                move.b     -[A7], 0xA /* '\n' */
  2862. 00001CC8  3F04                     move.w     -[A7], D4
  2863. 00001CCA  4EAD E708                jsr        [A5 - 0x18F8]
  2864. 00001CCE  2608                     move.l     D3, A0
  2865. 00001CD0  0C83 414C 5468           cmpi.l     D3, 0x414C5468 /* 'ALTh' */
  2866. 00001CD6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2867. 00001CDA  6708                     beq        +0xA /* 00001CE4 */
  2868. 00001CDC  0C83 414C 5476           cmpi.l     D3, 0x414C5476 /* 'ALTv' */
  2869. 00001CE2  6604                     bne        +0x6 /* 00001CE8 */
  2870. label00001CE4:
  2871. 00001CE4  7600                     moveq.l    D3, 0x00
  2872. 00001CE6  6002                     bra        +0x4 /* 00001CEA */
  2873. label00001CE8:
  2874. 00001CE8  7601                     moveq.l    D3, 0x01
  2875. label00001CEA:
  2876. 00001CEA  1F03                     move.b     -[A7], D3
  2877. 00001CEC  2F2D 8852                move.l     -[A7], [A5 - 0x77AE]
  2878. 00001CF0  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2879. 00001CF4  42A7                     clr.l      -[A7]
  2880. 00001CF6  4EBA 1030                jsr        [PC + 0x1030 /* 00002D28 */]
  2881. 00001CFA  1F3C 0002                move.b     -[A7], 0x2
  2882. 00001CFE  2F2D 884E                move.l     -[A7], [A5 - 0x77B2]
  2883. 00001D02  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2884. 00001D06  42A7                     clr.l      -[A7]
  2885. 00001D08  4EBA 101E                jsr        [PC + 0x101E /* 00002D28 */]
  2886. 00001D0C  1F3C 0002                move.b     -[A7], 0x2
  2887. 00001D10  2F2D 884A                move.l     -[A7], [A5 - 0x77B6]
  2888. 00001D14  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2889. 00001D18  42A7                     clr.l      -[A7]
  2890. 00001D1A  4EBA 100C                jsr        [PC + 0x100C /* 00002D28 */]
  2891. 00001D1E  1F3C 0002                move.b     -[A7], 0x2
  2892. 00001D22  2F2D 8846                move.l     -[A7], [A5 - 0x77BA]
  2893. 00001D26  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2894. 00001D2A  42A7                     clr.l      -[A7]
  2895. 00001D2C  4EBA 0FFA                jsr        [PC + 0xFFA /* 00002D28 */]
  2896. 00001D30  1F3C 0002                move.b     -[A7], 0x2
  2897. 00001D34  2F2D 8842                move.l     -[A7], [A5 - 0x77BE]
  2898. 00001D38  2F2D 885A                move.l     -[A7], [A5 - 0x77A6]
  2899. 00001D3C  42A7                     clr.l      -[A7]
  2900. 00001D3E  4EBA 0FE8                jsr        [PC + 0xFE8 /* 00002D28 */]
  2901. 00001D42  1F3C 0002                move.b     -[A7], 0x2
  2902. 00001D46  2F2D 8806                move.l     -[A7], [A5 - 0x77FA]
  2903. 00001D4A  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  2904. 00001D4E  42A7                     clr.l      -[A7]
  2905. 00001D50  4EBA 0FD6                jsr        [PC + 0xFD6 /* 00002D28 */]
  2906. 00001D54  1F3C 0002                move.b     -[A7], 0x2
  2907. 00001D58  2F2D 8802                move.l     -[A7], [A5 - 0x77FE]
  2908. 00001D5C  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  2909. 00001D60  42A7                     clr.l      -[A7]
  2910. 00001D62  4EBA 0FC4                jsr        [PC + 0xFC4 /* 00002D28 */]
  2911. 00001D66  4A6D B48A                tst.w      [A5 - 0x4B76]
  2912. 00001D6A  4FEF 0062                lea.l      A7, [A7 + 0x62]
  2913. 00001D6E  6604                     bne        +0x6 /* 00001D74 */
  2914. 00001D70  7005                     moveq.l    D0, 0x05
  2915. 00001D72  6002                     bra        +0x4 /* 00001D76 */
  2916. label00001D74:
  2917. 00001D74  7004                     moveq.l    D0, 0x04
  2918. label00001D76:
  2919. 00001D76  1600                     move.b     D3, D0
  2920. 00001D78  1F03                     move.b     -[A7], D3
  2921. 00001D7A  2F2D 8806                move.l     -[A7], [A5 - 0x77FA]
  2922. 00001D7E  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  2923. 00001D82  42A7                     clr.l      -[A7]
  2924. 00001D84  4EBA 0FA2                jsr        [PC + 0xFA2 /* 00002D28 */]
  2925. 00001D88  4A6D B48C                tst.w      [A5 - 0x4B74]
  2926. 00001D8C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2927. 00001D90  6604                     bne        +0x6 /* 00001D96 */
  2928. 00001D92  7005                     moveq.l    D0, 0x05
  2929. 00001D94  6002                     bra        +0x4 /* 00001D98 */
  2930. label00001D96:
  2931. 00001D96  7004                     moveq.l    D0, 0x04
  2932. label00001D98:
  2933. 00001D98  1600                     move.b     D3, D0
  2934. 00001D9A  1F03                     move.b     -[A7], D3
  2935. 00001D9C  2F2D 8802                move.l     -[A7], [A5 - 0x77FE]
  2936. 00001DA0  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  2937. 00001DA4  42A7                     clr.l      -[A7]
  2938. 00001DA6  4EBA 0F80                jsr        [PC + 0xF80 /* 00002D28 */]
  2939. 00001DAA  2F0A                     move.l     -[A7], A2
  2940. 00001DAC  4EAD E8F0                jsr        [A5 - 0x1710]
  2941. 00001DB0  4EAD E4E8                jsr        [A5 - 0x1B18]
  2942. 00001DB4  2F0A                     move.l     -[A7], A2
  2943. 00001DB6  4EAD E848                jsr        [A5 - 0x17B8]
  2944. 00001DBA  1600                     move.b     D3, D0
  2945. 00001DBC  7000                     moveq.l    D0, 0x00
  2946. 00001DBE  1003                     move.b     D0, D3
  2947. 00001DC0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2948. 00001DC4  4A80                     tst.l      D0
  2949. 00001DC6  670E                     beq        +0x10 /* 00001DD6 */
  2950. 00001DC8  5380                     subq.l     D0, 1
  2951. 00001DCA  6714                     beq        +0x16 /* 00001DE0 */
  2952. 00001DCC  5380                     subq.l     D0, 1
  2953. 00001DCE  671A                     beq        +0x1C /* 00001DEA */
  2954. 00001DD0  5380                     subq.l     D0, 1
  2955. 00001DD2  6716                     beq        +0x18 /* 00001DEA */
  2956. 00001DD4  601C                     bra        +0x1E /* 00001DF2 */
  2957. label00001DD6:
  2958. 00001DD6  2F0A                     move.l     -[A7], A2
  2959. 00001DD8  4EBA 0036                jsr        [PC + 0x36 /* 00001E10 */]
  2960. 00001DDC  584F                     addq.w     A7, 4
  2961. 00001DDE  6012                     bra        +0x14 /* 00001DF2 */
  2962. label00001DE0:
  2963. 00001DE0  2F0A                     move.l     -[A7], A2
  2964. 00001DE2  4EBA 0236                jsr        [PC + 0x236 /* 0000201A */]
  2965. 00001DE6  584F                     addq.w     A7, 4
  2966. 00001DE8  6008                     bra        +0xA /* 00001DF2 */
  2967. label00001DEA:
  2968. 00001DEA  2F0A                     move.l     -[A7], A2
  2969. 00001DEC  4EBA 016C                jsr        [PC + 0x16C /* 00001F5A */]
  2970. 00001DF0  584F                     addq.w     A7, 4
  2971. label00001DF2:
  2972. 00001DF2  200B                     move.l     D0, A3
  2973. 00001DF4  6714                     beq        +0x16 /* 00001E0A */
  2974. 00001DF6  0C03 0001                cmpi.b     D3, 0x1
  2975. 00001DFA  6608                     bne        +0xA /* 00001E04 */
  2976. 00001DFC  2F0B                     move.l     -[A7], A3
  2977. 00001DFE  3F05                     move.w     -[A7], D5
  2978. 00001E00  A93A                     syscall    DisableItem
  2979. 00001E02  6006                     bra        +0x8 /* 00001E0A */
  2980. label00001E04:
  2981. 00001E04  2F0B                     move.l     -[A7], A3
  2982. 00001E06  3F05                     move.w     -[A7], D5
  2983. 00001E08  A939                     syscall    EnableItem
  2984. label00001E0A:
  2985. 00001E0A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2986. 00001E0E  4E75                     rts
  2987. fn00001E10:
  2988. 00001E10  48E7 1800                movem.l    -[A7], D3,D4
  2989. 00001E14  4227                     clr.b      -[A7]
  2990. 00001E16  42A7                     clr.l      -[A7]
  2991. 00001E18  42A7                     clr.l      -[A7]
  2992. 00001E1A  42A7                     clr.l      -[A7]
  2993. 00001E1C  4EBA 0F0A                jsr        [PC + 0xF0A /* 00002D28 */]
  2994. 00001E20  3F3C 0001                move.w     -[A7], 0x1
  2995. 00001E24  42A7                     clr.l      -[A7]
  2996. 00001E26  4EBA 105C                jsr        [PC + 0x105C /* 00002E84 */]
  2997. 00001E2A  1F3C 0002                move.b     -[A7], 0x2
  2998. 00001E2E  2F2D 881E                move.l     -[A7], [A5 - 0x77E2]
  2999. 00001E32  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3000. 00001E36  42A7                     clr.l      -[A7]
  3001. 00001E38  4EBA 0EEE                jsr        [PC + 0xEEE /* 00002D28 */]
  3002. 00001E3C  1F3C 0002                move.b     -[A7], 0x2
  3003. 00001E40  2F2D 881A                move.l     -[A7], [A5 - 0x77E6]
  3004. 00001E44  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3005. 00001E48  42A7                     clr.l      -[A7]
  3006. 00001E4A  4EBA 0EDC                jsr        [PC + 0xEDC /* 00002D28 */]
  3007. 00001E4E  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  3008. 00001E52  4EAD E858                jsr        [A5 - 0x17A8]
  3009. 00001E56  3800                     move.w     D4, D0
  3010. 00001E58  3004                     move.w     D0, D4
  3011. 00001E5A  7208                     moveq.l    D1, 0x08
  3012. 00001E5C  C081                     and.l      D0, D1
  3013. 00001E5E  4FEF 0034                lea.l      A7, [A7 + 0x34]
  3014. 00001E62  6604                     bne        +0x6 /* 00001E68 */
  3015. 00001E64  7003                     moveq.l    D0, 0x03
  3016. 00001E66  6002                     bra        +0x4 /* 00001E6A */
  3017. label00001E68:
  3018. 00001E68  7002                     moveq.l    D0, 0x02
  3019. label00001E6A:
  3020. 00001E6A  1600                     move.b     D3, D0
  3021. 00001E6C  1F03                     move.b     -[A7], D3
  3022. 00001E6E  2F2D 883A                move.l     -[A7], [A5 - 0x77C6]
  3023. 00001E72  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3024. 00001E76  42A7                     clr.l      -[A7]
  3025. 00001E78  4EBA 0EAE                jsr        [PC + 0xEAE /* 00002D28 */]
  3026. 00001E7C  3004                     move.w     D0, D4
  3027. 00001E7E  7210                     moveq.l    D1, 0x10
  3028. 00001E80  C081                     and.l      D0, D1
  3029. 00001E82  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3030. 00001E86  6604                     bne        +0x6 /* 00001E8C */
  3031. 00001E88  7003                     moveq.l    D0, 0x03
  3032. 00001E8A  6002                     bra        +0x4 /* 00001E8E */
  3033. label00001E8C:
  3034. 00001E8C  7002                     moveq.l    D0, 0x02
  3035. label00001E8E:
  3036. 00001E8E  1600                     move.b     D3, D0
  3037. 00001E90  1F03                     move.b     -[A7], D3
  3038. 00001E92  2F2D 8836                move.l     -[A7], [A5 - 0x77CA]
  3039. 00001E96  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3040. 00001E9A  42A7                     clr.l      -[A7]
  3041. 00001E9C  4EBA 0E8A                jsr        [PC + 0xE8A /* 00002D28 */]
  3042. 00001EA0  3004                     move.w     D0, D4
  3043. 00001EA2  7220                     moveq.l    D1, 0x20
  3044. 00001EA4  C081                     and.l      D0, D1
  3045. 00001EA6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3046. 00001EAA  6604                     bne        +0x6 /* 00001EB0 */
  3047. 00001EAC  7003                     moveq.l    D0, 0x03
  3048. 00001EAE  6002                     bra        +0x4 /* 00001EB2 */
  3049. label00001EB0:
  3050. 00001EB0  7002                     moveq.l    D0, 0x02
  3051. label00001EB2:
  3052. 00001EB2  1600                     move.b     D3, D0
  3053. 00001EB4  1F03                     move.b     -[A7], D3
  3054. 00001EB6  2F2D 8832                move.l     -[A7], [A5 - 0x77CE]
  3055. 00001EBA  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3056. 00001EBE  42A7                     clr.l      -[A7]
  3057. 00001EC0  4EBA 0E66                jsr        [PC + 0xE66 /* 00002D28 */]
  3058. 00001EC4  3004                     move.w     D0, D4
  3059. 00001EC6  7240                     moveq.l    D1, 0x40
  3060. 00001EC8  C081                     and.l      D0, D1
  3061. 00001ECA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3062. 00001ECE  6604                     bne        +0x6 /* 00001ED4 */
  3063. 00001ED0  7003                     moveq.l    D0, 0x03
  3064. 00001ED2  6002                     bra        +0x4 /* 00001ED6 */
  3065. label00001ED4:
  3066. 00001ED4  7002                     moveq.l    D0, 0x02
  3067. label00001ED6:
  3068. 00001ED6  1600                     move.b     D3, D0
  3069. 00001ED8  1F03                     move.b     -[A7], D3
  3070. 00001EDA  2F2D 882E                move.l     -[A7], [A5 - 0x77D2]
  3071. 00001EDE  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3072. 00001EE2  42A7                     clr.l      -[A7]
  3073. 00001EE4  4EBA 0E42                jsr        [PC + 0xE42 /* 00002D28 */]
  3074. 00001EE8  0804 0007                btst.b     D4, 0x7
  3075. 00001EEC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3076. 00001EF0  6604                     bne        +0x6 /* 00001EF6 */
  3077. 00001EF2  7003                     moveq.l    D0, 0x03
  3078. 00001EF4  6002                     bra        +0x4 /* 00001EF8 */
  3079. label00001EF6:
  3080. 00001EF6  7002                     moveq.l    D0, 0x02
  3081. label00001EF8:
  3082. 00001EF8  1600                     move.b     D3, D0
  3083. 00001EFA  1F03                     move.b     -[A7], D3
  3084. 00001EFC  2F2D 882A                move.l     -[A7], [A5 - 0x77D6]
  3085. 00001F00  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3086. 00001F04  42A7                     clr.l      -[A7]
  3087. 00001F06  4EBA 0E20                jsr        [PC + 0xE20 /* 00002D28 */]
  3088. 00001F0A  0804 0008                btst.b     D4, 0x8
  3089. 00001F0E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3090. 00001F12  6604                     bne        +0x6 /* 00001F18 */
  3091. 00001F14  7003                     moveq.l    D0, 0x03
  3092. 00001F16  6002                     bra        +0x4 /* 00001F1A */
  3093. label00001F18:
  3094. 00001F18  7002                     moveq.l    D0, 0x02
  3095. label00001F1A:
  3096. 00001F1A  1600                     move.b     D3, D0
  3097. 00001F1C  1F03                     move.b     -[A7], D3
  3098. 00001F1E  2F2D 8826                move.l     -[A7], [A5 - 0x77DA]
  3099. 00001F22  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3100. 00001F26  42A7                     clr.l      -[A7]
  3101. 00001F28  4EBA 0DFE                jsr        [PC + 0xDFE /* 00002D28 */]
  3102. 00001F2C  1F3C 0002                move.b     -[A7], 0x2
  3103. 00001F30  2F2D 881E                move.l     -[A7], [A5 - 0x77E2]
  3104. 00001F34  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3105. 00001F38  42A7                     clr.l      -[A7]
  3106. 00001F3A  4EBA 0DEC                jsr        [PC + 0xDEC /* 00002D28 */]
  3107. 00001F3E  1F3C 0002                move.b     -[A7], 0x2
  3108. 00001F42  2F2D 881A                move.l     -[A7], [A5 - 0x77E6]
  3109. 00001F46  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3110. 00001F4A  42A7                     clr.l      -[A7]
  3111. 00001F4C  4EBA 0DDA                jsr        [PC + 0xDDA /* 00002D28 */]
  3112. 00001F50  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  3113. 00001F54  4CDF 0018                movem.l    D3,D4, [A7]+
  3114. 00001F58  4E75                     rts
  3115. fn00001F5A:
  3116. 00001F5A  4227                     clr.b      -[A7]
  3117. 00001F5C  42A7                     clr.l      -[A7]
  3118. 00001F5E  42A7                     clr.l      -[A7]
  3119. 00001F60  42A7                     clr.l      -[A7]
  3120. 00001F62  4EBA 0DC4                jsr        [PC + 0xDC4 /* 00002D28 */]
  3121. 00001F66  4267                     clr.w      -[A7]
  3122. 00001F68  42A7                     clr.l      -[A7]
  3123. 00001F6A  4EBA 0F18                jsr        [PC + 0xF18 /* 00002E84 */]
  3124. 00001F6E  1F3C 0003                move.b     -[A7], 0x3
  3125. 00001F72  2F2D 883A                move.l     -[A7], [A5 - 0x77C6]
  3126. 00001F76  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3127. 00001F7A  42A7                     clr.l      -[A7]
  3128. 00001F7C  4EBA 0DAA                jsr        [PC + 0xDAA /* 00002D28 */]
  3129. 00001F80  1F3C 0003                move.b     -[A7], 0x3
  3130. 00001F84  2F2D 8836                move.l     -[A7], [A5 - 0x77CA]
  3131. 00001F88  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3132. 00001F8C  42A7                     clr.l      -[A7]
  3133. 00001F8E  4EBA 0D98                jsr        [PC + 0xD98 /* 00002D28 */]
  3134. 00001F92  1F3C 0003                move.b     -[A7], 0x3
  3135. 00001F96  2F2D 8832                move.l     -[A7], [A5 - 0x77CE]
  3136. 00001F9A  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3137. 00001F9E  42A7                     clr.l      -[A7]
  3138. 00001FA0  4EBA 0D86                jsr        [PC + 0xD86 /* 00002D28 */]
  3139. 00001FA4  1F3C 0003                move.b     -[A7], 0x3
  3140. 00001FA8  2F2D 882E                move.l     -[A7], [A5 - 0x77D2]
  3141. 00001FAC  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3142. 00001FB0  42A7                     clr.l      -[A7]
  3143. 00001FB2  4EBA 0D74                jsr        [PC + 0xD74 /* 00002D28 */]
  3144. 00001FB6  1F3C 0003                move.b     -[A7], 0x3
  3145. 00001FBA  2F2D 882A                move.l     -[A7], [A5 - 0x77D6]
  3146. 00001FBE  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3147. 00001FC2  42A7                     clr.l      -[A7]
  3148. 00001FC4  4EBA 0D62                jsr        [PC + 0xD62 /* 00002D28 */]
  3149. 00001FC8  1F3C 0003                move.b     -[A7], 0x3
  3150. 00001FCC  2F2D 8826                move.l     -[A7], [A5 - 0x77DA]
  3151. 00001FD0  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3152. 00001FD4  42A7                     clr.l      -[A7]
  3153. 00001FD6  4EBA 0D50                jsr        [PC + 0xD50 /* 00002D28 */]
  3154. 00001FDA  1F3C 0003                move.b     -[A7], 0x3
  3155. 00001FDE  2F2D 8822                move.l     -[A7], [A5 - 0x77DE]
  3156. 00001FE2  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3157. 00001FE6  42A7                     clr.l      -[A7]
  3158. 00001FE8  4EBA 0D3E                jsr        [PC + 0xD3E /* 00002D28 */]
  3159. 00001FEC  1F3C 0002                move.b     -[A7], 0x2
  3160. 00001FF0  2F2D 881E                move.l     -[A7], [A5 - 0x77E2]
  3161. 00001FF4  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3162. 00001FF8  42A7                     clr.l      -[A7]
  3163. 00001FFA  4EBA 0D2C                jsr        [PC + 0xD2C /* 00002D28 */]
  3164. 00001FFE  1F3C 0002                move.b     -[A7], 0x2
  3165. 00002002  2F2D 881A                move.l     -[A7], [A5 - 0x77E6]
  3166. 00002006  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3167. 0000200A  42A7                     clr.l      -[A7]
  3168. 0000200C  4EBA 0D1A                jsr        [PC + 0xD1A /* 00002D28 */]
  3169. 00002010  4EBA 0020                jsr        [PC + 0x20 /* 00002032 */]
  3170. 00002014  4FEF 0092                lea.l      A7, [A7 + 0x92]
  3171. 00002018  4E75                     rts
  3172. fn0000201A:
  3173. 0000201A  1F3C 0001                move.b     -[A7], 0x1
  3174. 0000201E  42A7                     clr.l      -[A7]
  3175. 00002020  42A7                     clr.l      -[A7]
  3176. 00002022  42A7                     clr.l      -[A7]
  3177. 00002024  4EBA 0D02                jsr        [PC + 0xD02 /* 00002D28 */]
  3178. 00002028  4EBA 0008                jsr        [PC + 0x8 /* 00002032 */]
  3179. 0000202C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3180. 00002030  4E75                     rts
  3181. fn00002032:
  3182. 00002032  4FEF FF00                lea.l      A7, [A7 - 0x100]
  3183. 00002036  4857                     pea.l      [A7]
  3184. 00002038  302D 135E                move.w     D0, [A5 + 0x135E]
  3185. 0000203C  48C0                     ext.l      D0
  3186. 0000203E  0680 0000 0081           addi.l     D0, 0x81
  3187. 00002044  3F00                     move.w     -[A7], D0
  3188. 00002046  3F3C 000C                move.w     -[A7], 0xC
  3189. 0000204A  4EAD DA4E                jsr        [A5 - 0x25B2]
  3190. 0000204E  4857                     pea.l      [A7]
  3191. 00002050  2F2D 883A                move.l     -[A7], [A5 - 0x77C6]
  3192. 00002054  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  3193. 00002058  42A7                     clr.l      -[A7]
  3194. 0000205A  4EBA 0938                jsr        [PC + 0x938 /* 00002994 */]
  3195. 0000205E  4FEF 0110                lea.l      A7, [A7 + 0x110]
  3196. 00002062  4E75                     rts
  3197. fn00002064:
  3198. 00002064  48E7 1020                movem.l    -[A7], D3,A2
  3199. 00002068  2F2D 8866                move.l     -[A7], [A5 - 0x779A]
  3200. 0000206C  4EBA 0EA6                jsr        [PC + 0xEA6 /* 00002F14 */]
  3201. 00002070  2448                     movea.l    A2, A0
  3202. 00002072  200A                     move.l     D0, A2
  3203. 00002074  584F                     addq.w     A7, 4
  3204. 00002076  6762                     beq        +0x64 /* 000020DA */
  3205. 00002078  302D 135E                move.w     D0, [A5 + 0x135E]
  3206. 0000207C  48C0                     ext.l      D0
  3207. 0000207E  0680 0000 0091           addi.l     D0, 0x91
  3208. 00002084  3F00                     move.w     -[A7], D0
  3209. 00002086  4EAD DB62                jsr        [A5 - 0x249E]
  3210. 0000208A  4A80                     tst.l      D0
  3211. 0000208C  544F                     addq.w     A7, 2
  3212. 0000208E  674A                     beq        +0x4C /* 000020DA */
  3213. 00002090  4AAA 0018                tst.l      [A2 + 0x18]
  3214. 00002094  6708                     beq        +0xA /* 0000209E */
  3215. 00002096  7008                     moveq.l    D0, 0x08
  3216. 00002098  2032 080C                move.l     D0, [A2 + D0 + 0xC]
  3217. 0000209C  6604                     bne        +0x6 /* 000020A2 */
  3218. label0000209E:
  3219. 0000209E  7000                     moveq.l    D0, 0x00
  3220. 000020A0  6002                     bra        +0x4 /* 000020A4 */
  3221. label000020A2:
  3222. 000020A2  7001                     moveq.l    D0, 0x01
  3223. label000020A4:
  3224. 000020A4  4A80                     tst.l      D0
  3225. 000020A6  671A                     beq        +0x1C /* 000020C2 */
  3226. 000020A8  4EAD DC88                jsr        [A5 - 0x2378]
  3227. 000020AC  4A80                     tst.l      D0
  3228. 000020AE  660A                     bne        +0xC /* 000020BA */
  3229. 000020B0  554F                     subq.w     A7, 2
  3230. 000020B2  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  3231. 000020B6  301F                     move.w     D0, [A7]+
  3232. 000020B8  6004                     bra        +0x6 /* 000020BE */
  3233. label000020BA:
  3234. 000020BA  4EAD DC90                jsr        [A5 - 0x2370]
  3235. label000020BE:
  3236. 000020BE  3600                     move.w     D3, D0
  3237. 000020C0  6002                     bra        +0x4 /* 000020C4 */
  3238. label000020C2:
  3239. 000020C2  7600                     moveq.l    D3, 0x00
  3240. label000020C4:
  3241. 000020C4  302D 135E                move.w     D0, [A5 + 0x135E]
  3242. 000020C8  48C0                     ext.l      D0
  3243. 000020CA  0680 0000 0091           addi.l     D0, 0x91
  3244. 000020D0  3F00                     move.w     -[A7], D0
  3245. 000020D2  4EAD DB68                jsr        [A5 - 0x2498]
  3246. 000020D6  544F                     addq.w     A7, 2
  3247. 000020D8  600A                     bra        +0xC /* 000020E4 */
  3248. label000020DA:
  3249. 000020DA  554F                     subq.w     A7, 2
  3250. 000020DC  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  3251. 000020E0  301F                     move.w     D0, [A7]+
  3252. 000020E2  3600                     move.w     D3, D0
  3253. label000020E4:
  3254. 000020E4  3003                     move.w     D0, D3
  3255. 000020E6  4CDF 0408                movem.l    D3,A2, [A7]+
  3256. 000020EA  4E75                     rts
  3257. 000020EC  594F                     subq.w     A7, 4
  3258. 000020EE  2EAD 8866                move.l     [A7], [A5 - 0x779A]
  3259. 000020F2  2B6F 0008 8866           move.l     [A5 - 0x779A], [A7 + 0x8]
  3260. 000020F8  2057                     movea.l    A0, [A7]
  3261. 000020FA  584F                     addq.w     A7, 4
  3262. 000020FC  4E75                     rts
  3263. 000020FE  2F0A                     move.l     -[A7], A2
  3264. 00002100  4FEF FFEE                lea.l      A7, [A7 - 0x12]
  3265. 00002104  4AAD A940                tst.l      [A5 - 0x56C0]
  3266. 00002108  6700 0082                beq        +0x84 /* 0000218C */
  3267. 0000210C  4AAD 131E                tst.l      [A5 + 0x131E]
  3268. 00002110  673C                     beq        +0x3E /* 0000214E */
  3269. 00002112  554F                     subq.w     A7, 2
  3270. 00002114  486F 000C                pea.l      [A7 + 0xC]
  3271. 00002118  70FF                     moveq.l    D0, 0xFFFFFFFF
  3272. 0000211A  2F00                     move.l     -[A7], D0
  3273. 0000211C  3F3C 0039                move.w     -[A7], 0x39 /* '9' */
  3274. 00002120  A88F                     syscall    OSDispatch
  3275. 00002122  301F                     move.w     D0, [A7]+
  3276. 00002124  554F                     subq.w     A7, 2
  3277. 00002126  486F 0002                pea.l      [A7 + 0x2]
  3278. 0000212A  3F3C 0037                move.w     -[A7], 0x37 /* '7' */
  3279. 0000212E  A88F                     syscall    OSDispatch
  3280. 00002130  301F                     move.w     D0, [A7]+
  3281. 00002132  554F                     subq.w     A7, 2
  3282. 00002134  486F 000C                pea.l      [A7 + 0xC]
  3283. 00002138  486F 0006                pea.l      [A7 + 0x6]
  3284. 0000213C  486F 0013                pea.l      [A7 + 0x13]
  3285. 00002140  3F3C 003D                move.w     -[A7], 0x3D /* '=' */
  3286. 00002144  A88F                     syscall    OSDispatch
  3287. 00002146  301F                     move.w     D0, [A7]+
  3288. 00002148  4A2F 0009                tst.b      [A7 + 0x9]
  3289. 0000214C  673E                     beq        +0x40 /* 0000218C */
  3290. label0000214E:
  3291. 0000214E  246D A944                movea.l    A2, [A5 - 0x56BC]
  3292. 00002152  200A                     move.l     D0, A2
  3293. 00002154  6732                     beq        +0x34 /* 00002188 */
  3294. 00002156  302D 135E                move.w     D0, [A5 + 0x135E]
  3295. 0000215A  48C0                     ext.l      D0
  3296. 0000215C  0680 0000 0091           addi.l     D0, 0x91
  3297. 00002162  3F00                     move.w     -[A7], D0
  3298. 00002164  4EAD DB62                jsr        [A5 - 0x249E]
  3299. 00002168  4A80                     tst.l      D0
  3300. 0000216A  544F                     addq.w     A7, 2
  3301. 0000216C  671A                     beq        +0x1C /* 00002188 */
  3302. 0000216E  2F0A                     move.l     -[A7], A2
  3303. 00002170  4EAD F090                jsr        [A5 - 0xF70]
  3304. 00002174  302D 135E                move.w     D0, [A5 + 0x135E]
  3305. 00002178  48C0                     ext.l      D0
  3306. 0000217A  0680 0000 0091           addi.l     D0, 0x91
  3307. 00002180  3F00                     move.w     -[A7], D0
  3308. 00002182  4EAD DB68                jsr        [A5 - 0x2498]
  3309. 00002186  5C4F                     addq.w     A7, 6
  3310. label00002188:
  3311. 00002188  42AD A940                clr.l      [A5 - 0x56C0]
  3312. label0000218C:
  3313. 0000218C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3314. 00002190  245F                     movea.l    A2, [A7]+
  3315. 00002192  4E75                     rts
  3316. 00002194  7001                     moveq.l    D0, 0x01
  3317. 00002196  2B40 A940                move.l     [A5 - 0x56C0], D0
  3318. 0000219A  4E75                     rts
  3319. 0000219C  2F0A                     move.l     -[A7], A2
  3320. 0000219E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3321. 000021A2  4EBA 0D70                jsr        [PC + 0xD70 /* 00002F14 */]
  3322. 000021A6  2448                     movea.l    A2, A0
  3323. 000021A8  200A                     move.l     D0, A2
  3324. 000021AA  584F                     addq.w     A7, 4
  3325. 000021AC  675C                     beq        +0x5E /* 0000220A */
  3326. 000021AE  7000                     moveq.l    D0, 0x00
  3327. 000021B0  102F 000C                move.b     D0, [A7 + 0xC]
  3328. 000021B4  670A                     beq        +0xC /* 000021C0 */
  3329. 000021B6  5380                     subq.l     D0, 1
  3330. 000021B8  6714                     beq        +0x16 /* 000021CE */
  3331. 000021BA  5380                     subq.l     D0, 1
  3332. 000021BC  671C                     beq        +0x1E /* 000021DA */
  3333. 000021BE  604A                     bra        +0x4C /* 0000220A */
  3334. label000021C0:
  3335. 000021C0  7001                     moveq.l    D0, 0x01
  3336. 000021C2  2540 0018                move.l     [A2 + 0x18], D0
  3337. 000021C6  7001                     moveq.l    D0, 0x01
  3338. 000021C8  2B40 A940                move.l     [A5 - 0x56C0], D0
  3339. 000021CC  603C                     bra        +0x3E /* 0000220A */
  3340. label000021CE:
  3341. 000021CE  42AA 0018                clr.l      [A2 + 0x18]
  3342. 000021D2  7001                     moveq.l    D0, 0x01
  3343. 000021D4  2B40 A940                move.l     [A5 - 0x56C0], D0
  3344. 000021D8  6030                     bra        +0x32 /* 0000220A */
  3345. label000021DA:
  3346. 000021DA  4AAA 0018                tst.l      [A2 + 0x18]
  3347. 000021DE  6708                     beq        +0xA /* 000021E8 */
  3348. 000021E0  7008                     moveq.l    D0, 0x08
  3349. 000021E2  2032 080C                move.l     D0, [A2 + D0 + 0xC]
  3350. 000021E6  6604                     bne        +0x6 /* 000021EC */
  3351. label000021E8:
  3352. 000021E8  7000                     moveq.l    D0, 0x00
  3353. 000021EA  6002                     bra        +0x4 /* 000021EE */
  3354. label000021EC:
  3355. 000021EC  7001                     moveq.l    D0, 0x01
  3356. label000021EE:
  3357. 000021EE  4A80                     tst.l      D0
  3358. 000021F0  670C                     beq        +0xE /* 000021FE */
  3359. 000021F2  42AA 0018                clr.l      [A2 + 0x18]
  3360. 000021F6  7001                     moveq.l    D0, 0x01
  3361. 000021F8  2B40 A940                move.l     [A5 - 0x56C0], D0
  3362. 000021FC  600C                     bra        +0xE /* 0000220A */
  3363. label000021FE:
  3364. 000021FE  7001                     moveq.l    D0, 0x01
  3365. 00002200  2540 0018                move.l     [A2 + 0x18], D0
  3366. 00002204  7001                     moveq.l    D0, 0x01
  3367. 00002206  2B40 A940                move.l     [A5 - 0x56C0], D0
  3368. label0000220A:
  3369. 0000220A  245F                     movea.l    A2, [A7]+
  3370. 0000220C  4E75                     rts
  3371. fn0000220E:
  3372. 0000220E  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  3373. 00002212  302D 135E                move.w     D0, [A5 + 0x135E]
  3374. 00002216  48C0                     ext.l      D0
  3375. 00002218  0680 0000 0091           addi.l     D0, 0x91
  3376. 0000221E  3F00                     move.w     -[A7], D0
  3377. 00002220  4EAD DB62                jsr        [A5 - 0x249E]
  3378. 00002224  4A80                     tst.l      D0
  3379. 00002226  544F                     addq.w     A7, 2
  3380. 00002228  6608                     bne        +0xA /* 00002232 */
  3381. 0000222A  91C8                     sub.l      A0, A0
  3382. 0000222C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3383. 00002230  4E75                     rts
  3384. label00002232:
  3385. 00002232  4878 0020                push.l     0x20 /* ' ' */
  3386. 00002236  4EAD F160                jsr        [A5 - 0xEA0]
  3387. 0000223A  2008                     move.l     D0, A0
  3388. 0000223C  584F                     addq.w     A7, 4
  3389. 0000223E  670E                     beq        +0x10 /* 0000224E */
  3390. 00002240  2E80                     move.l     [A7], D0
  3391. 00002242  2F48 0004                move.l     [A7 + 0x4], A0
  3392. 00002246  4850                     pea.l      [A0]
  3393. 00002248  4EAD F030                jsr        [A5 - 0xFD0]
  3394. 0000224C  584F                     addq.w     A7, 4
  3395. label0000224E:
  3396. 0000224E  2F48 0008                move.l     [A7 + 0x8], A0
  3397. 00002252  302D 135E                move.w     D0, [A5 + 0x135E]
  3398. 00002256  48C0                     ext.l      D0
  3399. 00002258  0680 0000 0091           addi.l     D0, 0x91
  3400. 0000225E  3F00                     move.w     -[A7], D0
  3401. 00002260  4EAD DB68                jsr        [A5 - 0x2498]
  3402. 00002264  206F 000A                movea.l    A0, [A7 + 0xA]
  3403. 00002268  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3404. 0000226C  4E75                     rts
  3405. 0000226E  2F0A                     move.l     -[A7], A2
  3406. 00002270  594F                     subq.w     A7, 4
  3407. 00002272  4AAF 000C                tst.l      [A7 + 0xC]
  3408. 00002276  6606                     bne        +0x8 /* 0000227E */
  3409. 00002278  206D 886A                movea.l    A0, [A5 - 0x7796]
  3410. 0000227C  6004                     bra        +0x6 /* 00002282 */
  3411. label0000227E:
  3412. 0000227E  206F 000C                movea.l    A0, [A7 + 0xC]
  3413. label00002282:
  3414. 00002282  2448                     movea.l    A2, A0
  3415. 00002284  200A                     move.l     D0, A2
  3416. 00002286  6752                     beq        +0x54 /* 000022DA */
  3417. 00002288  302D 135E                move.w     D0, [A5 + 0x135E]
  3418. 0000228C  48C0                     ext.l      D0
  3419. 0000228E  0680 0000 0091           addi.l     D0, 0x91
  3420. 00002294  3F00                     move.w     -[A7], D0
  3421. 00002296  4EAD DB62                jsr        [A5 - 0x249E]
  3422. 0000229A  4A80                     tst.l      D0
  3423. 0000229C  544F                     addq.w     A7, 2
  3424. 0000229E  673A                     beq        +0x3C /* 000022DA */
  3425. 000022A0  200A                     move.l     D0, A2
  3426. 000022A2  6718                     beq        +0x1A /* 000022BC */
  3427. 000022A4  2E80                     move.l     [A7], D0
  3428. 000022A6  3F3C 0001                move.w     -[A7], 0x1
  3429. 000022AA  4852                     pea.l      [A2]
  3430. 000022AC  2057                     movea.l    A0, [A7]
  3431. 000022AE  2250                     movea.l    A1, [A0]
  3432. 000022B0  D1E9 0004                add.l      A0, [A1 + 0x4]
  3433. 000022B4  2E88                     move.l     [A7], A0
  3434. 000022B6  2251                     movea.l    A1, [A1]
  3435. 000022B8  4E91                     jsr        [A1]
  3436. 000022BA  5C4F                     addq.w     A7, 6
  3437. label000022BC:
  3438. 000022BC  B5ED 886A                cmpa.l     A2, [A5 - 0x7796]
  3439. 000022C0  6604                     bne        +0x6 /* 000022C6 */
  3440. 000022C2  42AD 886A                clr.l      [A5 - 0x7796]
  3441. label000022C6:
  3442. 000022C6  302D 135E                move.w     D0, [A5 + 0x135E]
  3443. 000022CA  48C0                     ext.l      D0
  3444. 000022CC  0680 0000 0091           addi.l     D0, 0x91
  3445. 000022D2  3F00                     move.w     -[A7], D0
  3446. 000022D4  4EAD DB68                jsr        [A5 - 0x2498]
  3447. 000022D8  544F                     addq.w     A7, 2
  3448. label000022DA:
  3449. 000022DA  584F                     addq.w     A7, 4
  3450. 000022DC  245F                     movea.l    A2, [A7]+
  3451. 000022DE  4E75                     rts
  3452. 000022E0  2F0A                     move.l     -[A7], A2
  3453. 000022E2  246F 0008                movea.l    A2, [A7 + 0x8]
  3454. 000022E6  200A                     move.l     D0, A2
  3455. 000022E8  6604                     bne        +0x6 /* 000022EE */
  3456. 000022EA  246D 886A                movea.l    A2, [A5 - 0x7796]
  3457. label000022EE:
  3458. 000022EE  200A                     move.l     D0, A2
  3459. 000022F0  6718                     beq        +0x1A /* 0000230A */
  3460. 000022F2  302D 135E                move.w     D0, [A5 + 0x135E]
  3461. 000022F6  48C0                     ext.l      D0
  3462. 000022F8  0680 0000 0091           addi.l     D0, 0x91
  3463. 000022FE  3F00                     move.w     -[A7], D0
  3464. 00002300  4EAD DB62                jsr        [A5 - 0x249E]
  3465. 00002304  4A80                     tst.l      D0
  3466. 00002306  544F                     addq.w     A7, 2
  3467. 00002308  6604                     bne        +0x6 /* 0000230E */
  3468. label0000230A:
  3469. 0000230A  245F                     movea.l    A2, [A7]+
  3470. 0000230C  4E75                     rts
  3471. label0000230E:
  3472. 0000230E  4A6F 000C                tst.w      [A7 + 0xC]
  3473. 00002312  670A                     beq        +0xC /* 0000231E */
  3474. 00002314  2F0A                     move.l     -[A7], A2
  3475. 00002316  4EAD F048                jsr        [A5 - 0xFB8]
  3476. 0000231A  584F                     addq.w     A7, 4
  3477. 0000231C  6008                     bra        +0xA /* 00002326 */
  3478. label0000231E:
  3479. 0000231E  2F0A                     move.l     -[A7], A2
  3480. 00002320  4EAD F050                jsr        [A5 - 0xFB0]
  3481. 00002324  584F                     addq.w     A7, 4
  3482. label00002326:
  3483. 00002326  302D 135E                move.w     D0, [A5 + 0x135E]
  3484. 0000232A  48C0                     ext.l      D0
  3485. 0000232C  0680 0000 0091           addi.l     D0, 0x91
  3486. 00002332  3F00                     move.w     -[A7], D0
  3487. 00002334  4EAD DB68                jsr        [A5 - 0x2498]
  3488. 00002338  544F                     addq.w     A7, 2
  3489. 0000233A  245F                     movea.l    A2, [A7]+
  3490. 0000233C  4E75                     rts
  3491. fn0000233E:
  3492. 0000233E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3493. 00002342  4FEF FCD6                lea.l      A7, [A7 - 0x32A]
  3494. 00002346  2C6F 0352                movea.l    A6, [A7 + 0x352]
  3495. 0000234A  3A2F 0356                move.w     D5, [A7 + 0x356]
  3496. 0000234E  286F 035A                movea.l    A4, [A7 + 0x35A]
  3497. 00002352  302D 135E                move.w     D0, [A5 + 0x135E]
  3498. 00002356  48C0                     ext.l      D0
  3499. 00002358  0680 0000 0091           addi.l     D0, 0x91
  3500. 0000235E  3F00                     move.w     -[A7], D0
  3501. 00002360  4EAD DB62                jsr        [A5 - 0x249E]
  3502. 00002364  4A80                     tst.l      D0
  3503. 00002366  544F                     addq.w     A7, 2
  3504. 00002368  660C                     bne        +0xE /* 00002376 */
  3505. 0000236A  7094                     moveq.l    D0, 0xFFFFFF94
  3506. 0000236C  4FEF 032A                lea.l      A7, [A7 + 0x32A]
  3507. 00002370  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3508. 00002374  4E75                     rts
  3509. label00002376:
  3510. 00002376  594F                     subq.w     A7, 4
  3511. 00002378  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  3512. 0000237E  3F05                     move.w     -[A7], D5
  3513. 00002380  A9A0                     syscall    GetResource
  3514. 00002382  205F                     movea.l    A0, [A7]+
  3515. 00002384  2E08                     move.l     D7, A0
  3516. 00002386  4A87                     tst.l      D7
  3517. 00002388  6610                     bne        +0x12 /* 0000239A */
  3518. 0000238A  554F                     subq.w     A7, 2
  3519. 0000238C  A9AF                     syscall    ResError
  3520. 0000238E  301F                     move.w     D0, [A7]+
  3521. 00002390  4FEF 032A                lea.l      A7, [A7 + 0x32A]
  3522. 00002394  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3523. 00002398  4E75                     rts
  3524. label0000239A:
  3525. 0000239A  2F07                     move.l     -[A7], D7
  3526. 0000239C  4EAD DD80                jsr        [A5 - 0x2280]
  3527. 000023A0  2448                     movea.l    A2, A0
  3528. 000023A2  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  3529. 000023A8  3F2F 0360                move.w     -[A7], [A7 + 0x360]
  3530. 000023AC  A9A0                     syscall    GetResource
  3531. 000023AE  205F                     movea.l    A0, [A7]+
  3532. 000023B0  2E88                     move.l     [A7], A0
  3533. 000023B2  4A97                     tst.l      [A7]
  3534. 000023B4  6626                     bne        +0x28 /* 000023DC */
  3535. 000023B6  2F07                     move.l     -[A7], D7
  3536. 000023B8  4EAD DD88                jsr        [A5 - 0x2278]
  3537. 000023BC  302D 135E                move.w     D0, [A5 + 0x135E]
  3538. 000023C0  48C0                     ext.l      D0
  3539. 000023C2  0680 0000 0091           addi.l     D0, 0x91
  3540. 000023C8  3F00                     move.w     -[A7], D0
  3541. 000023CA  4EAD DB68                jsr        [A5 - 0x2498]
  3542. 000023CE  A9AF                     syscall    ResError
  3543. 000023D0  301F                     move.w     D0, [A7]+
  3544. 000023D2  4FEF 032E                lea.l      A7, [A7 + 0x32E]
  3545. 000023D6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3546. 000023DA  4E75                     rts
  3547. label000023DC:
  3548. 000023DC  2F17                     move.l     -[A7], [A7]
  3549. 000023DE  4EAD DD80                jsr        [A5 - 0x2280]
  3550. 000023E2  2648                     movea.l    A3, A0
  3551. 000023E4  7800                     moveq.l    D4, 0x00
  3552. 000023E6  3C12                     move.w     D6, [A2]
  3553. 000023E8  48C6                     ext.l      D6
  3554. 000023EA  548A                     addq.l     A2, 2
  3555. 000023EC  548B                     addq.l     A3, 2
  3556. 000023EE  42A7                     clr.l      -[A7]
  3557. 000023F0  2F0A                     move.l     -[A7], A2
  3558. 000023F2  486F 0220                pea.l      [A7 + 0x220]
  3559. 000023F6  4EBA 0AE8                jsr        [PC + 0xAE8 /* 00002EE0 */]
  3560. 000023FA  2448                     movea.l    A2, A0
  3561. 000023FC  42A7                     clr.l      -[A7]
  3562. 000023FE  2F0B                     move.l     -[A7], A3
  3563. 00002400  486F 001C                pea.l      [A7 + 0x1C]
  3564. 00002404  4EBA 0ADA                jsr        [PC + 0xADA /* 00002EE0 */]
  3565. 00002408  2648                     movea.l    A3, A0
  3566. 0000240A  41EF 0020                lea.l      A0, [A7 + 0x20]
  3567. 0000240E  2F48 0120                move.l     [A7 + 0x120], A0
  3568. 00002412  41EF 0230                lea.l      A0, [A7 + 0x230]
  3569. 00002416  2F48 0124                move.l     [A7 + 0x124], A0
  3570. 0000241A  3F7C 7FFF 0128           move.w     [A7 + 0x128], 0x7FFF
  3571. 00002420  3F45 012A                move.w     [A7 + 0x12A], D5
  3572. 00002424  486F 0120                pea.l      [A7 + 0x120]
  3573. 00002428  486F 0230                pea.l      [A7 + 0x230]
  3574. 0000242C  2F0E                     move.l     -[A7], A6
  3575. 0000242E  4EBA 00F4                jsr        [PC + 0xF4 /* 00002524 */]
  3576. 00002432  3800                     move.w     D4, D0
  3577. 00002434  4A44                     tst.w      D4
  3578. 00002436  4FEF 0028                lea.l      A7, [A7 + 0x28]
  3579. 0000243A  6600 00BE                bne        +0xC0 /* 000024FA */
  3580. 0000243E  200C                     move.l     D0, A4
  3581. 00002440  6704                     beq        +0x6 /* 00002446 */
  3582. 00002442  28EF 0210                move.l     [A4]+, [A7 + 0x210]
  3583. label00002446:
  3584. 00002446  41EF 0004                lea.l      A0, [A7 + 0x4]
  3585. 0000244A  2F48 0314                move.l     [A7 + 0x314], A0
  3586. 0000244E  022F 007F 0324           andi.b     [A7 + 0x324], 0x7F
  3587. 00002454  002F 0040 0324           ori.b      [A7 + 0x324], 0x40 /* '@' */
  3588. 0000245A  3F7C 7FFF 0326           move.w     [A7 + 0x326], 0x7FFF
  3589. 00002460  7601                     moveq.l    D3, 0x01
  3590. 00002462  6000 0090                bra        +0x92 /* 000024F4 */
  3591. label00002466:
  3592. 00002466  4A12                     tst.b      [A2]
  3593. 00002468  6616                     bne        +0x18 /* 00002480 */
  3594. 0000246A  528A                     addq.l     A2, 1
  3595. 0000246C  528B                     addq.l     A3, 1
  3596. 0000246E  42AF 031C                clr.l      [A7 + 0x31C]
  3597. 00002472  42AF 0318                clr.l      [A7 + 0x318]
  3598. 00002476  42AF 0320                clr.l      [A7 + 0x320]
  3599. 0000247A  422F 0328                clr.b      [A7 + 0x328]
  3600. 0000247E  6052                     bra        +0x54 /* 000024D2 */
  3601. label00002480:
  3602. 00002480  1F6B 0001 0328           move.b     [A7 + 0x328], [A3 + 0x1]
  3603. 00002486  0C2F 0020 0328           cmpi.b     [A7 + 0x328], 0x20 /* ' ' */
  3604. 0000248C  6604                     bne        +0x6 /* 00002492 */
  3605. 0000248E  422F 0328                clr.b      [A7 + 0x328]
  3606. label00002492:
  3607. 00002492  42A7                     clr.l      -[A7]
  3608. 00002494  2F0A                     move.l     -[A7], A2
  3609. 00002496  486F 021C                pea.l      [A7 + 0x21C]
  3610. 0000249A  4EBA 0A44                jsr        [PC + 0xA44 /* 00002EE0 */]
  3611. 0000249E  2448                     movea.l    A2, A0
  3612. 000024A0  4878 0001                push.l     0x1
  3613. 000024A4  2F0B                     move.l     -[A7], A3
  3614. 000024A6  486F 0124                pea.l      [A7 + 0x124]
  3615. 000024AA  4EBA 0A34                jsr        [PC + 0xA34 /* 00002EE0 */]
  3616. 000024AE  2648                     movea.l    A3, A0
  3617. 000024B0  3045                     movea.w    A0, D5
  3618. 000024B2  2008                     move.l     D0, A0
  3619. 000024B4  7210                     moveq.l    D1, 0x10
  3620. 000024B6  E3A8                     lsl        D0, D1
  3621. 000024B8  8083                     or.l       D0, D3
  3622. 000024BA  2F40 0338                move.l     [A7 + 0x338], D0
  3623. 000024BE  41EF 022C                lea.l      A0, [A7 + 0x22C]
  3624. 000024C2  2F48 0334                move.l     [A7 + 0x334], A0
  3625. 000024C6  41EF 0128                lea.l      A0, [A7 + 0x128]
  3626. 000024CA  2F48 0330                move.l     [A7 + 0x330], A0
  3627. 000024CE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3628. label000024D2:
  3629. 000024D2  486F 0314                pea.l      [A7 + 0x314]
  3630. 000024D6  486F 0214                pea.l      [A7 + 0x214]
  3631. 000024DA  2F0E                     move.l     -[A7], A6
  3632. 000024DC  4EBA 0202                jsr        [PC + 0x202 /* 000026E0 */]
  3633. 000024E0  3800                     move.w     D4, D0
  3634. 000024E2  4A44                     tst.w      D4
  3635. 000024E4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3636. 000024E8  6610                     bne        +0x12 /* 000024FA */
  3637. 000024EA  200C                     move.l     D0, A4
  3638. 000024EC  6704                     beq        +0x6 /* 000024F2 */
  3639. 000024EE  28EF 0210                move.l     [A4]+, [A7 + 0x210]
  3640. label000024F2:
  3641. 000024F2  5283                     addq.l     D3, 1
  3642. label000024F4:
  3643. 000024F4  B686                     cmp.l      D3, D6
  3644. 000024F6  6D00 FF6E                blt        -0x90 /* 00002466 */
  3645. label000024FA:
  3646. 000024FA  2F17                     move.l     -[A7], [A7]
  3647. 000024FC  4EAD DD88                jsr        [A5 - 0x2278]
  3648. 00002500  2F07                     move.l     -[A7], D7
  3649. 00002502  4EAD DD88                jsr        [A5 - 0x2278]
  3650. 00002506  302D 135E                move.w     D0, [A5 + 0x135E]
  3651. 0000250A  48C0                     ext.l      D0
  3652. 0000250C  0680 0000 0091           addi.l     D0, 0x91
  3653. 00002512  3F00                     move.w     -[A7], D0
  3654. 00002514  4EAD DB68                jsr        [A5 - 0x2498]
  3655. 00002518  3004                     move.w     D0, D4
  3656. 0000251A  4FEF 0334                lea.l      A7, [A7 + 0x334]
  3657. 0000251E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3658. 00002522  4E75                     rts
  3659. fn00002524:
  3660. 00002524  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3661. 00002528  514F                     subq.w     A7, 8
  3662. 0000252A  286F 0028                movea.l    A4, [A7 + 0x28]
  3663. 0000252E  266F 002C                movea.l    A3, [A7 + 0x2C]
  3664. 00002532  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3665. 00002536  4EBA 09DC                jsr        [PC + 0x9DC /* 00002F14 */]
  3666. 0000253A  2C48                     movea.l    A6, A0
  3667. 0000253C  200E                     move.l     D0, A6
  3668. 0000253E  584F                     addq.w     A7, 4
  3669. 00002540  6718                     beq        +0x1A /* 0000255A */
  3670. 00002542  302D 135E                move.w     D0, [A5 + 0x135E]
  3671. 00002546  48C0                     ext.l      D0
  3672. 00002548  0680 0000 0091           addi.l     D0, 0x91
  3673. 0000254E  3F00                     move.w     -[A7], D0
  3674. 00002550  4EAD DB62                jsr        [A5 - 0x249E]
  3675. 00002554  4A80                     tst.l      D0
  3676. 00002556  544F                     addq.w     A7, 2
  3677. 00002558  660A                     bne        +0xC /* 00002564 */
  3678. label0000255A:
  3679. 0000255A  7094                     moveq.l    D0, 0xFFFFFF94
  3680. 0000255C  504F                     addq.w     A7, 8
  3681. 0000255E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3682. 00002562  4E75                     rts
  3683. label00002564:
  3684. 00002564  2F13                     move.l     -[A7], [A3]
  3685. 00002566  2F0E                     move.l     -[A7], A6
  3686. 00002568  4EAD F058                jsr        [A5 - 0xFA8]
  3687. 0000256C  2008                     move.l     D0, A0
  3688. 0000256E  504F                     addq.w     A7, 8
  3689. 00002570  671E                     beq        +0x20 /* 00002590 */
  3690. 00002572  302D 135E                move.w     D0, [A5 + 0x135E]
  3691. 00002576  48C0                     ext.l      D0
  3692. 00002578  0680 0000 0091           addi.l     D0, 0x91
  3693. 0000257E  3F00                     move.w     -[A7], D0
  3694. 00002580  4EAD DB68                jsr        [A5 - 0x2498]
  3695. 00002584  7000                     moveq.l    D0, 0x00
  3696. 00002586  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3697. 0000258A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3698. 0000258E  4E75                     rts
  3699. label00002590:
  3700. 00002590  7800                     moveq.l    D4, 0x00
  3701. 00002592  95CA                     sub.l      A2, A2
  3702. 00002594  7600                     moveq.l    D3, 0x00
  3703. label00002596:
  3704. 00002596  4878 002A                push.l     0x2A /* '*' */
  3705. 0000259A  4EAD F160                jsr        [A5 - 0xEA0]
  3706. 0000259E  2008                     move.l     D0, A0
  3707. 000025A0  584F                     addq.w     A7, 4
  3708. 000025A2  670E                     beq        +0x10 /* 000025B2 */
  3709. 000025A4  2E80                     move.l     [A7], D0
  3710. 000025A6  2F48 0004                move.l     [A7 + 0x4], A0
  3711. 000025AA  4850                     pea.l      [A0]
  3712. 000025AC  4EAD F110                jsr        [A5 - 0xEF0]
  3713. 000025B0  584F                     addq.w     A7, 4
  3714. label000025B2:
  3715. 000025B2  2448                     movea.l    A2, A0
  3716. 000025B4  200A                     move.l     D0, A2
  3717. 000025B6  6604                     bne        +0x6 /* 000025BC */
  3718. 000025B8  7694                     moveq.l    D3, 0xFFFFFF94
  3719. 000025BA  6032                     bra        +0x34 /* 000025EE */
  3720. label000025BC:
  3721. 000025BC  302B 0008                move.w     D0, [A3 + 0x8]
  3722. 000025C0  48C0                     ext.l      D0
  3723. 000025C2  2F00                     move.l     -[A7], D0
  3724. 000025C4  3F2B 000A                move.w     -[A7], [A3 + 0xA]
  3725. 000025C8  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  3726. 000025CC  2F13                     move.l     -[A7], [A3]
  3727. 000025CE  2F0E                     move.l     -[A7], A6
  3728. 000025D0  2F0A                     move.l     -[A7], A2
  3729. 000025D2  4EAD F120                jsr        [A5 - 0xEE0]
  3730. 000025D6  3600                     move.w     D3, D0
  3731. 000025D8  4A43                     tst.w      D3
  3732. 000025DA  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3733. 000025DE  660E                     bne        +0x10 /* 000025EE */
  3734. 000025E0  200C                     move.l     D0, A4
  3735. 000025E2  6706                     beq        +0x8 /* 000025EA */
  3736. 000025E4  206A 0020                movea.l    A0, [A2 + 0x20]
  3737. 000025E8  2888                     move.l     [A4], A0
  3738. label000025EA:
  3739. 000025EA  5284                     addq.l     D4, 1
  3740. 000025EC  67A8                     beq        -0x56 /* 00002596 */
  3741. label000025EE:
  3742. 000025EE  4A84                     tst.l      D4
  3743. 000025F0  6622                     bne        +0x24 /* 00002614 */
  3744. 000025F2  200A                     move.l     D0, A2
  3745. 000025F4  671E                     beq        +0x20 /* 00002614 */
  3746. 000025F6  4A80                     tst.l      D0
  3747. 000025F8  671A                     beq        +0x1C /* 00002614 */
  3748. 000025FA  2F40 0004                move.l     [A7 + 0x4], D0
  3749. 000025FE  3F3C 0001                move.w     -[A7], 0x1
  3750. 00002602  4852                     pea.l      [A2]
  3751. 00002604  2057                     movea.l    A0, [A7]
  3752. 00002606  2250                     movea.l    A1, [A0]
  3753. 00002608  D1E9 0004                add.l      A0, [A1 + 0x4]
  3754. 0000260C  2E88                     move.l     [A7], A0
  3755. 0000260E  2251                     movea.l    A1, [A1]
  3756. 00002610  4E91                     jsr        [A1]
  3757. 00002612  5C4F                     addq.w     A7, 6
  3758. label00002614:
  3759. 00002614  302D 135E                move.w     D0, [A5 + 0x135E]
  3760. 00002618  48C0                     ext.l      D0
  3761. 0000261A  0680 0000 0091           addi.l     D0, 0x91
  3762. 00002620  3F00                     move.w     -[A7], D0
  3763. 00002622  4EAD DB68                jsr        [A5 - 0x2498]
  3764. 00002626  3003                     move.w     D0, D3
  3765. 00002628  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3766. 0000262C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3767. 00002630  4E75                     rts
  3768. fn00002632:
  3769. 00002632  48E7 0030                movem.l    -[A7], A2,A3
  3770. 00002636  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  3771. 0000263A  4EBA 08D8                jsr        [PC + 0x8D8 /* 00002F14 */]
  3772. 0000263E  2648                     movea.l    A3, A0
  3773. 00002640  200B                     move.l     D0, A3
  3774. 00002642  584F                     addq.w     A7, 4
  3775. 00002644  6718                     beq        +0x1A /* 0000265E */
  3776. 00002646  302D 135E                move.w     D0, [A5 + 0x135E]
  3777. 0000264A  48C0                     ext.l      D0
  3778. 0000264C  0680 0000 0091           addi.l     D0, 0x91
  3779. 00002652  3F00                     move.w     -[A7], D0
  3780. 00002654  4EAD DB62                jsr        [A5 - 0x249E]
  3781. 00002658  4A80                     tst.l      D0
  3782. 0000265A  544F                     addq.w     A7, 2
  3783. 0000265C  6606                     bne        +0x8 /* 00002664 */
  3784. label0000265E:
  3785. 0000265E  4CDF 0C00                movem.l    A2,A3, [A7]+
  3786. 00002662  4E75                     rts
  3787. label00002664:
  3788. 00002664  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  3789. 00002668  2F0B                     move.l     -[A7], A3
  3790. 0000266A  4EAD F060                jsr        [A5 - 0xFA0]
  3791. 0000266E  2448                     movea.l    A2, A0
  3792. 00002670  200A                     move.l     D0, A2
  3793. 00002672  504F                     addq.w     A7, 8
  3794. 00002674  661A                     bne        +0x1C /* 00002690 */
  3795. 00002676  302D 135E                move.w     D0, [A5 + 0x135E]
  3796. 0000267A  48C0                     ext.l      D0
  3797. 0000267C  0680 0000 0091           addi.l     D0, 0x91
  3798. 00002682  3F00                     move.w     -[A7], D0
  3799. 00002684  4EAD DB68                jsr        [A5 - 0x2498]
  3800. 00002688  544F                     addq.w     A7, 2
  3801. 0000268A  4CDF 0C00                movem.l    A2,A3, [A7]+
  3802. 0000268E  4E75                     rts
  3803. label00002690:
  3804. 00002690  7000                     moveq.l    D0, 0x00
  3805. 00002692  102F 0014                move.b     D0, [A7 + 0x14]
  3806. 00002696  6706                     beq        +0x8 /* 0000269E */
  3807. 00002698  5380                     subq.l     D0, 1
  3808. 0000269A  6724                     beq        +0x26 /* 000026C0 */
  3809. 0000269C  6028                     bra        +0x2A /* 000026C6 */
  3810. label0000269E:
  3811. 0000269E  266A 000C                movea.l    A3, [A2 + 0xC]
  3812. 000026A2  200B                     move.l     D0, A3
  3813. 000026A4  6718                     beq        +0x1A /* 000026BE */
  3814. 000026A6  2F0B                     move.l     -[A7], A3
  3815. 000026A8  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  3816. 000026AE  A94D                     syscall    AppendResMenu/AddResMenu
  3817. 000026B0  002A 0080 0024           ori.b      [A2 + 0x24], 0x80
  3818. 000026B6  002A 0040 0024           ori.b      [A2 + 0x24], 0x40 /* '@' */
  3819. 000026BC  6008                     bra        +0xA /* 000026C6 */
  3820. label000026BE:
  3821. 000026BE  6006                     bra        +0x8 /* 000026C6 */
  3822. label000026C0:
  3823. 000026C0  002A 0040 0024           ori.b      [A2 + 0x24], 0x40 /* '@' */
  3824. label000026C6:
  3825. 000026C6  302D 135E                move.w     D0, [A5 + 0x135E]
  3826. 000026CA  48C0                     ext.l      D0
  3827. 000026CC  0680 0000 0091           addi.l     D0, 0x91
  3828. 000026D2  3F00                     move.w     -[A7], D0
  3829. 000026D4  4EAD DB68                jsr        [A5 - 0x2498]
  3830. 000026D8  544F                     addq.w     A7, 2
  3831. 000026DA  4CDF 0C00                movem.l    A2,A3, [A7]+
  3832. 000026DE  4E75                     rts
  3833. fn000026E0:
  3834. 000026E0  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3835. 000026E4  514F                     subq.w     A7, 8
  3836. 000026E6  2C6F 0028                movea.l    A6, [A7 + 0x28]
  3837. 000026EA  246F 002C                movea.l    A2, [A7 + 0x2C]
  3838. 000026EE  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3839. 000026F2  4EBA 0820                jsr        [PC + 0x820 /* 00002F14 */]
  3840. 000026F6  2648                     movea.l    A3, A0
  3841. 000026F8  200B                     move.l     D0, A3
  3842. 000026FA  584F                     addq.w     A7, 4
  3843. 000026FC  6718                     beq        +0x1A /* 00002716 */
  3844. 000026FE  302D 135E                move.w     D0, [A5 + 0x135E]
  3845. 00002702  48C0                     ext.l      D0
  3846. 00002704  0680 0000 0091           addi.l     D0, 0x91
  3847. 0000270A  3F00                     move.w     -[A7], D0
  3848. 0000270C  4EAD DB62                jsr        [A5 - 0x249E]
  3849. 00002710  4A80                     tst.l      D0
  3850. 00002712  544F                     addq.w     A7, 2
  3851. 00002714  660A                     bne        +0xC /* 00002720 */
  3852. label00002716:
  3853. 00002716  7094                     moveq.l    D0, 0xFFFFFF94
  3854. 00002718  504F                     addq.w     A7, 8
  3855. 0000271A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3856. 0000271E  4E75                     rts
  3857. label00002720:
  3858. 00002720  2F12                     move.l     -[A7], [A2]
  3859. 00002722  2F0B                     move.l     -[A7], A3
  3860. 00002724  4EAD F058                jsr        [A5 - 0xFA8]
  3861. 00002728  2848                     movea.l    A4, A0
  3862. 0000272A  200C                     move.l     D0, A4
  3863. 0000272C  504F                     addq.w     A7, 8
  3864. 0000272E  661E                     bne        +0x20 /* 0000274E */
  3865. 00002730  302D 135E                move.w     D0, [A5 + 0x135E]
  3866. 00002734  48C0                     ext.l      D0
  3867. 00002736  0680 0000 0091           addi.l     D0, 0x91
  3868. 0000273C  3F00                     move.w     -[A7], D0
  3869. 0000273E  4EAD DB68                jsr        [A5 - 0x2498]
  3870. 00002742  7000                     moveq.l    D0, 0x00
  3871. 00002744  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3872. 00002748  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3873. 0000274C  4E75                     rts
  3874. label0000274E:
  3875. 0000274E  4AAA 0004                tst.l      [A2 + 0x4]
  3876. 00002752  673C                     beq        +0x3E /* 00002790 */
  3877. 00002754  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3878. 00002758  2F0C                     move.l     -[A7], A4
  3879. 0000275A  4EAD F128                jsr        [A5 - 0xED8]
  3880. 0000275E  2648                     movea.l    A3, A0
  3881. 00002760  2008                     move.l     D0, A0
  3882. 00002762  504F                     addq.w     A7, 8
  3883. 00002764  672A                     beq        +0x2C /* 00002790 */
  3884. 00002766  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  3885. 0000276A  2F0B                     move.l     -[A7], A3
  3886. 0000276C  4EAD F0F8                jsr        [A5 - 0xF08]
  3887. 00002770  3600                     move.w     D3, D0
  3888. 00002772  302D 135E                move.w     D0, [A5 + 0x135E]
  3889. 00002776  48C0                     ext.l      D0
  3890. 00002778  0680 0000 0091           addi.l     D0, 0x91
  3891. 0000277E  3F00                     move.w     -[A7], D0
  3892. 00002780  4EAD DB68                jsr        [A5 - 0x2498]
  3893. 00002784  3003                     move.w     D0, D3
  3894. 00002786  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3895. 0000278A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3896. 0000278E  4E75                     rts
  3897. label00002790:
  3898. 00002790  7800                     moveq.l    D4, 0x00
  3899. 00002792  7600                     moveq.l    D3, 0x00
  3900. label00002794:
  3901. 00002794  4878 001E                push.l     0x1E
  3902. 00002798  4EAD F160                jsr        [A5 - 0xEA0]
  3903. 0000279C  2008                     move.l     D0, A0
  3904. 0000279E  584F                     addq.w     A7, 4
  3905. 000027A0  670E                     beq        +0x10 /* 000027B0 */
  3906. 000027A2  2E80                     move.l     [A7], D0
  3907. 000027A4  2F48 0004                move.l     [A7 + 0x4], A0
  3908. 000027A8  4850                     pea.l      [A0]
  3909. 000027AA  4EAD F0D0                jsr        [A5 - 0xF30]
  3910. 000027AE  584F                     addq.w     A7, 4
  3911. label000027B0:
  3912. 000027B0  2648                     movea.l    A3, A0
  3913. 000027B2  200B                     move.l     D0, A3
  3914. 000027B4  6604                     bne        +0x6 /* 000027BA */
  3915. 000027B6  7694                     moveq.l    D3, 0xFFFFFF94
  3916. 000027B8  606A                     bra        +0x6C /* 00002824 */
  3917. label000027BA:
  3918. 000027BA  082A 0006 0010           btst.b     [A2 + 0x10], 0x6
  3919. 000027C0  6728                     beq        +0x2A /* 000027EA */
  3920. 000027C2  302A 0012                move.w     D0, [A2 + 0x12]
  3921. 000027C6  48C0                     ext.l      D0
  3922. 000027C8  2F00                     move.l     -[A7], D0
  3923. 000027CA  1F2A 0014                move.b     -[A7], [A2 + 0x14]
  3924. 000027CE  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  3925. 000027D2  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  3926. 000027D6  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3927. 000027DA  2F0C                     move.l     -[A7], A4
  3928. 000027DC  2F0B                     move.l     -[A7], A3
  3929. 000027DE  4EAD F0E8                jsr        [A5 - 0xF18]
  3930. 000027E2  3600                     move.w     D3, D0
  3931. 000027E4  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3932. 000027E8  6026                     bra        +0x28 /* 00002810 */
  3933. label000027EA:
  3934. 000027EA  302A 0012                move.w     D0, [A2 + 0x12]
  3935. 000027EE  48C0                     ext.l      D0
  3936. 000027F0  2F00                     move.l     -[A7], D0
  3937. 000027F2  1F2A 0014                move.b     -[A7], [A2 + 0x14]
  3938. 000027F6  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  3939. 000027FA  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  3940. 000027FE  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3941. 00002802  2F0C                     move.l     -[A7], A4
  3942. 00002804  2F0B                     move.l     -[A7], A3
  3943. 00002806  4EAD F0F0                jsr        [A5 - 0xF10]
  3944. 0000280A  3600                     move.w     D3, D0
  3945. 0000280C  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3946. label00002810:
  3947. 00002810  4A43                     tst.w      D3
  3948. 00002812  6610                     bne        +0x12 /* 00002824 */
  3949. 00002814  200E                     move.l     D0, A6
  3950. 00002816  6706                     beq        +0x8 /* 0000281E */
  3951. 00002818  206B 0008                movea.l    A0, [A3 + 0x8]
  3952. 0000281C  2C88                     move.l     [A6], A0
  3953. label0000281E:
  3954. 0000281E  5284                     addq.l     D4, 1
  3955. 00002820  6700 FF72                beq        -0x8C /* 00002794 */
  3956. label00002824:
  3957. 00002824  4A84                     tst.l      D4
  3958. 00002826  6622                     bne        +0x24 /* 0000284A */
  3959. 00002828  200B                     move.l     D0, A3
  3960. 0000282A  671E                     beq        +0x20 /* 0000284A */
  3961. 0000282C  4A80                     tst.l      D0
  3962. 0000282E  671A                     beq        +0x1C /* 0000284A */
  3963. 00002830  2F40 0004                move.l     [A7 + 0x4], D0
  3964. 00002834  3F3C 0001                move.w     -[A7], 0x1
  3965. 00002838  4853                     pea.l      [A3]
  3966. 0000283A  2057                     movea.l    A0, [A7]
  3967. 0000283C  2250                     movea.l    A1, [A0]
  3968. 0000283E  D1E9 0004                add.l      A0, [A1 + 0x4]
  3969. 00002842  2E88                     move.l     [A7], A0
  3970. 00002844  2251                     movea.l    A1, [A1]
  3971. 00002846  4E91                     jsr        [A1]
  3972. 00002848  5C4F                     addq.w     A7, 6
  3973. label0000284A:
  3974. 0000284A  302D 135E                move.w     D0, [A5 + 0x135E]
  3975. 0000284E  48C0                     ext.l      D0
  3976. 00002850  0680 0000 0091           addi.l     D0, 0x91
  3977. 00002856  3F00                     move.w     -[A7], D0
  3978. 00002858  4EAD DB68                jsr        [A5 - 0x2498]
  3979. 0000285C  3003                     move.w     D0, D3
  3980. 0000285E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3981. 00002862  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3982. 00002866  4E75                     rts
  3983. 00002868  2F0A                     move.l     -[A7], A2
  3984. 0000286A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3985. 0000286E  4EBA 06A4                jsr        [PC + 0x6A4 /* 00002F14 */]
  3986. 00002872  2448                     movea.l    A2, A0
  3987. 00002874  200A                     move.l     D0, A2
  3988. 00002876  584F                     addq.w     A7, 4
  3989. 00002878  6706                     beq        +0x8 /* 00002880 */
  3990. 0000287A  256F 000C 001C           move.l     [A2 + 0x1C], [A7 + 0xC]
  3991. label00002880:
  3992. 00002880  245F                     movea.l    A2, [A7]+
  3993. 00002882  4E75                     rts
  3994. 00002884  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3995. 00002888  594F                     subq.w     A7, 4
  3996. 0000288A  286F 0024                movea.l    A4, [A7 + 0x24]
  3997. 0000288E  2A2F 0028                move.l     D5, [A7 + 0x28]
  3998. 00002892  2605                     move.l     D3, D5
  3999. 00002894  7210                     moveq.l    D1, 0x10
  4000. 00002896  E2A3                     asr        D3, D1
  4001. 00002898  3805                     move.w     D4, D5
  4002. 0000289A  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4003. 0000289E  4EBA 0674                jsr        [PC + 0x674 /* 00002F14 */]
  4004. 000028A2  2648                     movea.l    A3, A0
  4005. 000028A4  246B 001C                movea.l    A2, [A3 + 0x1C]
  4006. 000028A8  200A                     move.l     D0, A2
  4007. 000028AA  584F                     addq.w     A7, 4
  4008. 000028AC  6732                     beq        +0x34 /* 000028E0 */
  4009. 000028AE  4857                     pea.l      [A7]
  4010. 000028B0  486F 0006                pea.l      [A7 + 0x6]
  4011. 000028B4  4EBA 29A6                jsr        [PC + 0x29A6 /* 0000525C */]
  4012. 000028B8  B86F 000A                cmp.w      D4, [A7 + 0xA]
  4013. 000028BC  504F                     addq.w     A7, 8
  4014. 000028BE  6620                     bne        +0x22 /* 000028E0 */
  4015. 000028C0  B657                     cmp.w      D3, [A7]
  4016. 000028C2  661C                     bne        +0x1E /* 000028E0 */
  4017. 000028C4  42A7                     clr.l      -[A7]
  4018. 000028C6  4227                     clr.b      -[A7]
  4019. 000028C8  2F0A                     move.l     -[A7], A2
  4020. 000028CA  2F0C                     move.l     -[A7], A4
  4021. 000028CC  4EAD E970                jsr        [A5 - 0x1690]
  4022. 000028D0  203C 0000 FFFF           move.l     D0, 0xFFFF
  4023. 000028D6  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4024. 000028DA  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4025. 000028DE  4E75                     rts
  4026. label000028E0:
  4027. 000028E0  0C43 BF96                cmpi.w     D3, 0xBF96
  4028. 000028E4  660A                     bne        +0xC /* 000028F0 */
  4029. 000028E6  2005                     move.l     D0, D5
  4030. 000028E8  584F                     addq.w     A7, 4
  4031. 000028EA  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4032. 000028EE  4E75                     rts
  4033. label000028F0:
  4034. 000028F0  4A43                     tst.w      D3
  4035. 000028F2  6700 0096                beq        +0x98 /* 0000298A */
  4036. 000028F6  4A44                     tst.w      D4
  4037. 000028F8  6700 0090                beq        +0x92 /* 0000298A */
  4038. 000028FC  200B                     move.l     D0, A3
  4039. 000028FE  6718                     beq        +0x1A /* 00002918 */
  4040. 00002900  302D 135E                move.w     D0, [A5 + 0x135E]
  4041. 00002904  48C0                     ext.l      D0
  4042. 00002906  0680 0000 0091           addi.l     D0, 0x91
  4043. 0000290C  3F00                     move.w     -[A7], D0
  4044. 0000290E  4EAD DB62                jsr        [A5 - 0x249E]
  4045. 00002912  4A80                     tst.l      D0
  4046. 00002914  544F                     addq.w     A7, 2
  4047. 00002916  660A                     bne        +0xC /* 00002922 */
  4048. label00002918:
  4049. 00002918  7000                     moveq.l    D0, 0x00
  4050. 0000291A  584F                     addq.w     A7, 4
  4051. 0000291C  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4052. 00002920  4E75                     rts
  4053. label00002922:
  4054. 00002922  3004                     move.w     D0, D4
  4055. 00002924  48C0                     ext.l      D0
  4056. 00002926  2F00                     move.l     -[A7], D0
  4057. 00002928  3003                     move.w     D0, D3
  4058. 0000292A  48C0                     ext.l      D0
  4059. 0000292C  2F00                     move.l     -[A7], D0
  4060. 0000292E  2F0C                     move.l     -[A7], A4
  4061. 00002930  2F0B                     move.l     -[A7], A3
  4062. 00002932  4EAD F070                jsr        [A5 - 0xF90]
  4063. 00002936  2A00                     move.l     D5, D0
  4064. 00002938  302D 135E                move.w     D0, [A5 + 0x135E]
  4065. 0000293C  48C0                     ext.l      D0
  4066. 0000293E  0680 0000 0091           addi.l     D0, 0x91
  4067. 00002944  3F00                     move.w     -[A7], D0
  4068. 00002946  4EAD DB68                jsr        [A5 - 0x2498]
  4069. 0000294A  200A                     move.l     D0, A2
  4070. 0000294C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4071. 00002950  672E                     beq        +0x30 /* 00002980 */
  4072. 00002952  2605                     move.l     D3, D5
  4073. 00002954  7210                     moveq.l    D1, 0x10
  4074. 00002956  E2A3                     asr        D3, D1
  4075. 00002958  3805                     move.w     D4, D5
  4076. 0000295A  B86F 0002                cmp.w      D4, [A7 + 0x2]
  4077. 0000295E  6620                     bne        +0x22 /* 00002980 */
  4078. 00002960  B657                     cmp.w      D3, [A7]
  4079. 00002962  661C                     bne        +0x1E /* 00002980 */
  4080. 00002964  42A7                     clr.l      -[A7]
  4081. 00002966  4227                     clr.b      -[A7]
  4082. 00002968  2F0A                     move.l     -[A7], A2
  4083. 0000296A  2F0C                     move.l     -[A7], A4
  4084. 0000296C  4EAD E970                jsr        [A5 - 0x1690]
  4085. 00002970  203C 0000 FFFF           move.l     D0, 0xFFFF
  4086. 00002976  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4087. 0000297A  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4088. 0000297E  4E75                     rts
  4089. label00002980:
  4090. 00002980  2005                     move.l     D0, D5
  4091. 00002982  584F                     addq.w     A7, 4
  4092. 00002984  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4093. 00002988  4E75                     rts
  4094. label0000298A:
  4095. 0000298A  7000                     moveq.l    D0, 0x00
  4096. 0000298C  584F                     addq.w     A7, 4
  4097. 0000298E  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4098. 00002992  4E75                     rts
  4099. fn00002994:
  4100. 00002994  48E7 0030                movem.l    -[A7], A2,A3
  4101. 00002998  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  4102. 0000299C  4EBA 0576                jsr        [PC + 0x576 /* 00002F14 */]
  4103. 000029A0  2448                     movea.l    A2, A0
  4104. 000029A2  200A                     move.l     D0, A2
  4105. 000029A4  584F                     addq.w     A7, 4
  4106. 000029A6  6718                     beq        +0x1A /* 000029C0 */
  4107. 000029A8  302D 135E                move.w     D0, [A5 + 0x135E]
  4108. 000029AC  48C0                     ext.l      D0
  4109. 000029AE  0680 0000 0091           addi.l     D0, 0x91
  4110. 000029B4  3F00                     move.w     -[A7], D0
  4111. 000029B6  4EAD DB62                jsr        [A5 - 0x249E]
  4112. 000029BA  4A80                     tst.l      D0
  4113. 000029BC  544F                     addq.w     A7, 2
  4114. 000029BE  6606                     bne        +0x8 /* 000029C6 */
  4115. label000029C0:
  4116. 000029C0  4CDF 0C00                movem.l    A2,A3, [A7]+
  4117. 000029C4  4E75                     rts
  4118. label000029C6:
  4119. 000029C6  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4120. 000029CA  2F0A                     move.l     -[A7], A2
  4121. 000029CC  4EAD F060                jsr        [A5 - 0xFA0]
  4122. 000029D0  2648                     movea.l    A3, A0
  4123. 000029D2  200B                     move.l     D0, A3
  4124. 000029D4  504F                     addq.w     A7, 8
  4125. 000029D6  6712                     beq        +0x14 /* 000029EA */
  4126. 000029D8  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  4127. 000029DC  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  4128. 000029E0  2F0B                     move.l     -[A7], A3
  4129. 000029E2  4EAD F138                jsr        [A5 - 0xEC8]
  4130. 000029E6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4131. label000029EA:
  4132. 000029EA  302D 135E                move.w     D0, [A5 + 0x135E]
  4133. 000029EE  48C0                     ext.l      D0
  4134. 000029F0  0680 0000 0091           addi.l     D0, 0x91
  4135. 000029F6  3F00                     move.w     -[A7], D0
  4136. 000029F8  4EAD DB68                jsr        [A5 - 0x2498]
  4137. 000029FC  544F                     addq.w     A7, 2
  4138. 000029FE  4CDF 0C00                movem.l    A2,A3, [A7]+
  4139. 00002A02  4E75                     rts
  4140. fn00002A04:
  4141. 00002A04  48E7 0038                movem.l    -[A7], A2,A3,A4
  4142. 00002A08  286F 0014                movea.l    A4, [A7 + 0x14]
  4143. 00002A0C  200C                     move.l     D0, A4
  4144. 00002A0E  6608                     bne        +0xA /* 00002A18 */
  4145. 00002A10  91C8                     sub.l      A0, A0
  4146. 00002A12  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4147. 00002A16  4E75                     rts
  4148. label00002A18:
  4149. 00002A18  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4150. 00002A1C  4EBA 04F6                jsr        [PC + 0x4F6 /* 00002F14 */]
  4151. 00002A20  2448                     movea.l    A2, A0
  4152. 00002A22  200A                     move.l     D0, A2
  4153. 00002A24  584F                     addq.w     A7, 4
  4154. 00002A26  6718                     beq        +0x1A /* 00002A40 */
  4155. 00002A28  302D 135E                move.w     D0, [A5 + 0x135E]
  4156. 00002A2C  48C0                     ext.l      D0
  4157. 00002A2E  0680 0000 0091           addi.l     D0, 0x91
  4158. 00002A34  3F00                     move.w     -[A7], D0
  4159. 00002A36  4EAD DB62                jsr        [A5 - 0x249E]
  4160. 00002A3A  4A80                     tst.l      D0
  4161. 00002A3C  544F                     addq.w     A7, 2
  4162. 00002A3E  6608                     bne        +0xA /* 00002A48 */
  4163. label00002A40:
  4164. 00002A40  91C8                     sub.l      A0, A0
  4165. 00002A42  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4166. 00002A46  4E75                     rts
  4167. label00002A48:
  4168. 00002A48  2F0C                     move.l     -[A7], A4
  4169. 00002A4A  2F0A                     move.l     -[A7], A2
  4170. 00002A4C  4EAD F060                jsr        [A5 - 0xFA0]
  4171. 00002A50  2648                     movea.l    A3, A0
  4172. 00002A52  200B                     move.l     D0, A3
  4173. 00002A54  504F                     addq.w     A7, 8
  4174. 00002A56  6604                     bne        +0x6 /* 00002A5C */
  4175. 00002A58  91C8                     sub.l      A0, A0
  4176. 00002A5A  6004                     bra        +0x6 /* 00002A60 */
  4177. label00002A5C:
  4178. 00002A5C  206B 000C                movea.l    A0, [A3 + 0xC]
  4179. label00002A60:
  4180. 00002A60  2448                     movea.l    A2, A0
  4181. 00002A62  302D 135E                move.w     D0, [A5 + 0x135E]
  4182. 00002A66  48C0                     ext.l      D0
  4183. 00002A68  0680 0000 0091           addi.l     D0, 0x91
  4184. 00002A6E  3F00                     move.w     -[A7], D0
  4185. 00002A70  4EAD DB68                jsr        [A5 - 0x2498]
  4186. 00002A74  204A                     movea.l    A0, A2
  4187. 00002A76  544F                     addq.w     A7, 2
  4188. 00002A78  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4189. 00002A7C  4E75                     rts
  4190. fn00002A7E:
  4191. 00002A7E  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4192. 00002A82  594F                     subq.w     A7, 4
  4193. 00002A84  286F 001C                movea.l    A4, [A7 + 0x1C]
  4194. 00002A88  200C                     move.l     D0, A4
  4195. 00002A8A  660A                     bne        +0xC /* 00002A96 */
  4196. 00002A8C  7000                     moveq.l    D0, 0x00
  4197. 00002A8E  584F                     addq.w     A7, 4
  4198. 00002A90  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4199. 00002A94  4E75                     rts
  4200. label00002A96:
  4201. 00002A96  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  4202. 00002A9A  4EBA 0478                jsr        [PC + 0x478 /* 00002F14 */]
  4203. 00002A9E  2448                     movea.l    A2, A0
  4204. 00002AA0  200A                     move.l     D0, A2
  4205. 00002AA2  584F                     addq.w     A7, 4
  4206. 00002AA4  6718                     beq        +0x1A /* 00002ABE */
  4207. 00002AA6  302D 135E                move.w     D0, [A5 + 0x135E]
  4208. 00002AAA  48C0                     ext.l      D0
  4209. 00002AAC  0680 0000 0091           addi.l     D0, 0x91
  4210. 00002AB2  3F00                     move.w     -[A7], D0
  4211. 00002AB4  4EAD DB62                jsr        [A5 - 0x249E]
  4212. 00002AB8  4A80                     tst.l      D0
  4213. 00002ABA  544F                     addq.w     A7, 2
  4214. 00002ABC  660A                     bne        +0xC /* 00002AC8 */
  4215. label00002ABE:
  4216. 00002ABE  7000                     moveq.l    D0, 0x00
  4217. 00002AC0  584F                     addq.w     A7, 4
  4218. 00002AC2  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4219. 00002AC6  4E75                     rts
  4220. label00002AC8:
  4221. 00002AC8  2F0C                     move.l     -[A7], A4
  4222. 00002ACA  2F0A                     move.l     -[A7], A2
  4223. 00002ACC  4EAD F060                jsr        [A5 - 0xFA0]
  4224. 00002AD0  2648                     movea.l    A3, A0
  4225. 00002AD2  200B                     move.l     D0, A3
  4226. 00002AD4  504F                     addq.w     A7, 8
  4227. 00002AD6  6606                     bne        +0x8 /* 00002ADE */
  4228. 00002AD8  2E80                     move.l     [A7], D0
  4229. 00002ADA  7000                     moveq.l    D0, 0x00
  4230. 00002ADC  6006                     bra        +0x8 /* 00002AE4 */
  4231. label00002ADE:
  4232. 00002ADE  7010                     moveq.l    D0, 0x10
  4233. 00002AE0  2033 080C                move.l     D0, [A3 + D0 + 0xC]
  4234. label00002AE4:
  4235. 00002AE4  3600                     move.w     D3, D0
  4236. 00002AE6  302D 135E                move.w     D0, [A5 + 0x135E]
  4237. 00002AEA  48C0                     ext.l      D0
  4238. 00002AEC  0680 0000 0091           addi.l     D0, 0x91
  4239. 00002AF2  3F00                     move.w     -[A7], D0
  4240. 00002AF4  4EAD DB68                jsr        [A5 - 0x2498]
  4241. 00002AF8  3003                     move.w     D0, D3
  4242. 00002AFA  5C4F                     addq.w     A7, 6
  4243. 00002AFC  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4244. 00002B00  4E75                     rts
  4245. 00002B02  48E7 1030                movem.l    -[A7], D3,A2,A3
  4246. 00002B06  594F                     subq.w     A7, 4
  4247. 00002B08  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4248. 00002B0C  4EBA 0406                jsr        [PC + 0x406 /* 00002F14 */]
  4249. 00002B10  2448                     movea.l    A2, A0
  4250. 00002B12  200A                     move.l     D0, A2
  4251. 00002B14  584F                     addq.w     A7, 4
  4252. 00002B16  6718                     beq        +0x1A /* 00002B30 */
  4253. 00002B18  302D 135E                move.w     D0, [A5 + 0x135E]
  4254. 00002B1C  48C0                     ext.l      D0
  4255. 00002B1E  0680 0000 0091           addi.l     D0, 0x91
  4256. 00002B24  3F00                     move.w     -[A7], D0
  4257. 00002B26  4EAD DB62                jsr        [A5 - 0x249E]
  4258. 00002B2A  4A80                     tst.l      D0
  4259. 00002B2C  544F                     addq.w     A7, 2
  4260. 00002B2E  660A                     bne        +0xC /* 00002B3A */
  4261. label00002B30:
  4262. 00002B30  7000                     moveq.l    D0, 0x00
  4263. 00002B32  584F                     addq.w     A7, 4
  4264. 00002B34  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4265. 00002B38  4E75                     rts
  4266. label00002B3A:
  4267. 00002B3A  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  4268. 00002B3E  2F0A                     move.l     -[A7], A2
  4269. 00002B40  4EAD F068                jsr        [A5 - 0xF98]
  4270. 00002B44  2648                     movea.l    A3, A0
  4271. 00002B46  200B                     move.l     D0, A3
  4272. 00002B48  504F                     addq.w     A7, 8
  4273. 00002B4A  6606                     bne        +0x8 /* 00002B52 */
  4274. 00002B4C  2E80                     move.l     [A7], D0
  4275. 00002B4E  7000                     moveq.l    D0, 0x00
  4276. 00002B50  600E                     bra        +0x10 /* 00002B60 */
  4277. label00002B52:
  4278. 00002B52  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4279. 00002B56  2F0B                     move.l     -[A7], A3
  4280. 00002B58  4EAD F0F8                jsr        [A5 - 0xF08]
  4281. 00002B5C  48C0                     ext.l      D0
  4282. 00002B5E  504F                     addq.w     A7, 8
  4283. label00002B60:
  4284. 00002B60  3600                     move.w     D3, D0
  4285. 00002B62  302D 135E                move.w     D0, [A5 + 0x135E]
  4286. 00002B66  48C0                     ext.l      D0
  4287. 00002B68  0680 0000 0091           addi.l     D0, 0x91
  4288. 00002B6E  3F00                     move.w     -[A7], D0
  4289. 00002B70  4EAD DB68                jsr        [A5 - 0x2498]
  4290. 00002B74  3003                     move.w     D0, D3
  4291. 00002B76  5C4F                     addq.w     A7, 6
  4292. 00002B78  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4293. 00002B7C  4E75                     rts
  4294. 00002B7E  48E7 0030                movem.l    -[A7], A2,A3
  4295. 00002B82  594F                     subq.w     A7, 4
  4296. 00002B84  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4297. 00002B88  4EBA 038A                jsr        [PC + 0x38A /* 00002F14 */]
  4298. 00002B8C  2448                     movea.l    A2, A0
  4299. 00002B8E  200A                     move.l     D0, A2
  4300. 00002B90  584F                     addq.w     A7, 4
  4301. 00002B92  6718                     beq        +0x1A /* 00002BAC */
  4302. 00002B94  302D 135E                move.w     D0, [A5 + 0x135E]
  4303. 00002B98  48C0                     ext.l      D0
  4304. 00002B9A  0680 0000 0091           addi.l     D0, 0x91
  4305. 00002BA0  3F00                     move.w     -[A7], D0
  4306. 00002BA2  4EAD DB62                jsr        [A5 - 0x249E]
  4307. 00002BA6  4A80                     tst.l      D0
  4308. 00002BA8  544F                     addq.w     A7, 2
  4309. 00002BAA  6608                     bne        +0xA /* 00002BB4 */
  4310. label00002BAC:
  4311. 00002BAC  584F                     addq.w     A7, 4
  4312. 00002BAE  4CDF 0C00                movem.l    A2,A3, [A7]+
  4313. 00002BB2  4E75                     rts
  4314. label00002BB4:
  4315. 00002BB4  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4316. 00002BB8  2F0A                     move.l     -[A7], A2
  4317. 00002BBA  4EAD F068                jsr        [A5 - 0xF98]
  4318. 00002BBE  2648                     movea.l    A3, A0
  4319. 00002BC0  200B                     move.l     D0, A3
  4320. 00002BC2  504F                     addq.w     A7, 8
  4321. 00002BC4  671C                     beq        +0x1E /* 00002BE2 */
  4322. 00002BC6  4A80                     tst.l      D0
  4323. 00002BC8  6718                     beq        +0x1A /* 00002BE2 */
  4324. 00002BCA  2E80                     move.l     [A7], D0
  4325. 00002BCC  3F3C 0001                move.w     -[A7], 0x1
  4326. 00002BD0  4853                     pea.l      [A3]
  4327. 00002BD2  2057                     movea.l    A0, [A7]
  4328. 00002BD4  2250                     movea.l    A1, [A0]
  4329. 00002BD6  D1E9 0004                add.l      A0, [A1 + 0x4]
  4330. 00002BDA  2E88                     move.l     [A7], A0
  4331. 00002BDC  2251                     movea.l    A1, [A1]
  4332. 00002BDE  4E91                     jsr        [A1]
  4333. 00002BE0  5C4F                     addq.w     A7, 6
  4334. label00002BE2:
  4335. 00002BE2  302D 135E                move.w     D0, [A5 + 0x135E]
  4336. 00002BE6  48C0                     ext.l      D0
  4337. 00002BE8  0680 0000 0091           addi.l     D0, 0x91
  4338. 00002BEE  3F00                     move.w     -[A7], D0
  4339. 00002BF0  4EAD DB68                jsr        [A5 - 0x2498]
  4340. 00002BF4  5C4F                     addq.w     A7, 6
  4341. 00002BF6  4CDF 0C00                movem.l    A2,A3, [A7]+
  4342. 00002BFA  4E75                     rts
  4343. 00002BFC  48E7 0030                movem.l    -[A7], A2,A3
  4344. 00002C00  594F                     subq.w     A7, 4
  4345. 00002C02  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4346. 00002C06  4EBA 030C                jsr        [PC + 0x30C /* 00002F14 */]
  4347. 00002C0A  2448                     movea.l    A2, A0
  4348. 00002C0C  200A                     move.l     D0, A2
  4349. 00002C0E  584F                     addq.w     A7, 4
  4350. 00002C10  6718                     beq        +0x1A /* 00002C2A */
  4351. 00002C12  302D 135E                move.w     D0, [A5 + 0x135E]
  4352. 00002C16  48C0                     ext.l      D0
  4353. 00002C18  0680 0000 0091           addi.l     D0, 0x91
  4354. 00002C1E  3F00                     move.w     -[A7], D0
  4355. 00002C20  4EAD DB62                jsr        [A5 - 0x249E]
  4356. 00002C24  4A80                     tst.l      D0
  4357. 00002C26  544F                     addq.w     A7, 2
  4358. 00002C28  6608                     bne        +0xA /* 00002C32 */
  4359. label00002C2A:
  4360. 00002C2A  584F                     addq.w     A7, 4
  4361. 00002C2C  4CDF 0C00                movem.l    A2,A3, [A7]+
  4362. 00002C30  4E75                     rts
  4363. label00002C32:
  4364. 00002C32  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4365. 00002C36  2F0A                     move.l     -[A7], A2
  4366. 00002C38  4EAD F058                jsr        [A5 - 0xFA8]
  4367. 00002C3C  2648                     movea.l    A3, A0
  4368. 00002C3E  200B                     move.l     D0, A3
  4369. 00002C40  504F                     addq.w     A7, 8
  4370. 00002C42  6734                     beq        +0x36 /* 00002C78 */
  4371. 00002C44  302F 0018                move.w     D0, [A7 + 0x18]
  4372. 00002C48  48C0                     ext.l      D0
  4373. 00002C4A  2F00                     move.l     -[A7], D0
  4374. 00002C4C  486B 0010                pea.l      [A3 + 0x10]
  4375. 00002C50  4EAD F0C8                jsr        [A5 - 0xF38]
  4376. 00002C54  2448                     movea.l    A2, A0
  4377. 00002C56  200A                     move.l     D0, A2
  4378. 00002C58  504F                     addq.w     A7, 8
  4379. 00002C5A  671C                     beq        +0x1E /* 00002C78 */
  4380. 00002C5C  4A80                     tst.l      D0
  4381. 00002C5E  6718                     beq        +0x1A /* 00002C78 */
  4382. 00002C60  2E80                     move.l     [A7], D0
  4383. 00002C62  3F3C 0001                move.w     -[A7], 0x1
  4384. 00002C66  4852                     pea.l      [A2]
  4385. 00002C68  2057                     movea.l    A0, [A7]
  4386. 00002C6A  2250                     movea.l    A1, [A0]
  4387. 00002C6C  D1E9 0004                add.l      A0, [A1 + 0x4]
  4388. 00002C70  2E88                     move.l     [A7], A0
  4389. 00002C72  2251                     movea.l    A1, [A1]
  4390. 00002C74  4E91                     jsr        [A1]
  4391. 00002C76  5C4F                     addq.w     A7, 6
  4392. label00002C78:
  4393. 00002C78  302D 135E                move.w     D0, [A5 + 0x135E]
  4394. 00002C7C  48C0                     ext.l      D0
  4395. 00002C7E  0680 0000 0091           addi.l     D0, 0x91
  4396. 00002C84  3F00                     move.w     -[A7], D0
  4397. 00002C86  4EAD DB68                jsr        [A5 - 0x2498]
  4398. 00002C8A  5C4F                     addq.w     A7, 6
  4399. 00002C8C  4CDF 0C00                movem.l    A2,A3, [A7]+
  4400. 00002C90  4E75                     rts
  4401. fn00002C92:
  4402. 00002C92  48E7 0038                movem.l    -[A7], A2,A3,A4
  4403. 00002C96  594F                     subq.w     A7, 4
  4404. 00002C98  286F 0018                movea.l    A4, [A7 + 0x18]
  4405. 00002C9C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4406. 00002CA0  4EBA 0272                jsr        [PC + 0x272 /* 00002F14 */]
  4407. 00002CA4  2448                     movea.l    A2, A0
  4408. 00002CA6  200A                     move.l     D0, A2
  4409. 00002CA8  584F                     addq.w     A7, 4
  4410. 00002CAA  6718                     beq        +0x1A /* 00002CC4 */
  4411. 00002CAC  302D 135E                move.w     D0, [A5 + 0x135E]
  4412. 00002CB0  48C0                     ext.l      D0
  4413. 00002CB2  0680 0000 0091           addi.l     D0, 0x91
  4414. 00002CB8  3F00                     move.w     -[A7], D0
  4415. 00002CBA  4EAD DB62                jsr        [A5 - 0x249E]
  4416. 00002CBE  4A80                     tst.l      D0
  4417. 00002CC0  544F                     addq.w     A7, 2
  4418. 00002CC2  6608                     bne        +0xA /* 00002CCC */
  4419. label00002CC4:
  4420. 00002CC4  584F                     addq.w     A7, 4
  4421. 00002CC6  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4422. 00002CCA  4E75                     rts
  4423. label00002CCC:
  4424. 00002CCC  200C                     move.l     D0, A4
  4425. 00002CCE  672E                     beq        +0x30 /* 00002CFE */
  4426. 00002CD0  2F0C                     move.l     -[A7], A4
  4427. 00002CD2  2F0A                     move.l     -[A7], A2
  4428. 00002CD4  4EAD F058                jsr        [A5 - 0xFA8]
  4429. 00002CD8  2648                     movea.l    A3, A0
  4430. 00002CDA  200B                     move.l     D0, A3
  4431. 00002CDC  504F                     addq.w     A7, 8
  4432. 00002CDE  6726                     beq        +0x28 /* 00002D06 */
  4433. 00002CE0  4A80                     tst.l      D0
  4434. 00002CE2  6718                     beq        +0x1A /* 00002CFC */
  4435. 00002CE4  2E80                     move.l     [A7], D0
  4436. 00002CE6  3F3C 0001                move.w     -[A7], 0x1
  4437. 00002CEA  4853                     pea.l      [A3]
  4438. 00002CEC  2057                     movea.l    A0, [A7]
  4439. 00002CEE  2250                     movea.l    A1, [A0]
  4440. 00002CF0  D1E9 0004                add.l      A0, [A1 + 0x4]
  4441. 00002CF4  2E88                     move.l     [A7], A0
  4442. 00002CF6  2251                     movea.l    A1, [A1]
  4443. 00002CF8  4E91                     jsr        [A1]
  4444. 00002CFA  5C4F                     addq.w     A7, 6
  4445. label00002CFC:
  4446. 00002CFC  6008                     bra        +0xA /* 00002D06 */
  4447. label00002CFE:
  4448. 00002CFE  2F0A                     move.l     -[A7], A2
  4449. 00002D00  4EAD F040                jsr        [A5 - 0xFC0]
  4450. 00002D04  584F                     addq.w     A7, 4
  4451. label00002D06:
  4452. 00002D06  302D 135E                move.w     D0, [A5 + 0x135E]
  4453. 00002D0A  48C0                     ext.l      D0
  4454. 00002D0C  0680 0000 0091           addi.l     D0, 0x91
  4455. 00002D12  3F00                     move.w     -[A7], D0
  4456. 00002D14  4EAD DB68                jsr        [A5 - 0x2498]
  4457. 00002D18  5C4F                     addq.w     A7, 6
  4458. 00002D1A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4459. 00002D1E  4E75                     rts
  4460. fn00002D20:
  4461. 00002D20  2B6F 0004 886A           move.l     [A5 - 0x7796], [A7 + 0x4]
  4462. 00002D26  4E75                     rts
  4463. fn00002D28:
  4464. 00002D28  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4465. 00002D2C  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  4466. 00002D30  286F 0020                movea.l    A4, [A7 + 0x20]
  4467. 00002D34  162F 0024                move.b     D3, [A7 + 0x24]
  4468. 00002D38  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  4469. 00002D3C  4EBA 01D6                jsr        [PC + 0x1D6 /* 00002F14 */]
  4470. 00002D40  2448                     movea.l    A2, A0
  4471. 00002D42  200A                     move.l     D0, A2
  4472. 00002D44  584F                     addq.w     A7, 4
  4473. 00002D46  6718                     beq        +0x1A /* 00002D60 */
  4474. 00002D48  302D 135E                move.w     D0, [A5 + 0x135E]
  4475. 00002D4C  48C0                     ext.l      D0
  4476. 00002D4E  0680 0000 0091           addi.l     D0, 0x91
  4477. 00002D54  3F00                     move.w     -[A7], D0
  4478. 00002D56  4EAD DB62                jsr        [A5 - 0x249E]
  4479. 00002D5A  4A80                     tst.l      D0
  4480. 00002D5C  544F                     addq.w     A7, 2
  4481. 00002D5E  6606                     bne        +0x8 /* 00002D66 */
  4482. label00002D60:
  4483. 00002D60  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4484. 00002D64  4E75                     rts
  4485. label00002D66:
  4486. 00002D66  200E                     move.l     D0, A6
  4487. 00002D68  6610                     bne        +0x12 /* 00002D7A */
  4488. 00002D6A  1F03                     move.b     -[A7], D3
  4489. 00002D6C  2F0A                     move.l     -[A7], A2
  4490. 00002D6E  4EBA 0278                jsr        [PC + 0x278 /* 00002FE8 */]
  4491. 00002D72  5C4F                     addq.w     A7, 6
  4492. 00002D74  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4493. 00002D78  4E75                     rts
  4494. label00002D7A:
  4495. 00002D7A  2F0E                     move.l     -[A7], A6
  4496. 00002D7C  2F0A                     move.l     -[A7], A2
  4497. 00002D7E  4EAD F060                jsr        [A5 - 0xFA0]
  4498. 00002D82  2648                     movea.l    A3, A0
  4499. 00002D84  200B                     move.l     D0, A3
  4500. 00002D86  504F                     addq.w     A7, 8
  4501. 00002D88  672A                     beq        +0x2C /* 00002DB4 */
  4502. 00002D8A  200C                     move.l     D0, A4
  4503. 00002D8C  671C                     beq        +0x1E /* 00002DAA */
  4504. 00002D8E  2F0C                     move.l     -[A7], A4
  4505. 00002D90  2F0B                     move.l     -[A7], A3
  4506. 00002D92  4EAD F130                jsr        [A5 - 0xED0]
  4507. 00002D96  2448                     movea.l    A2, A0
  4508. 00002D98  200A                     move.l     D0, A2
  4509. 00002D9A  504F                     addq.w     A7, 8
  4510. 00002D9C  6716                     beq        +0x18 /* 00002DB4 */
  4511. 00002D9E  1F03                     move.b     -[A7], D3
  4512. 00002DA0  2F0A                     move.l     -[A7], A2
  4513. 00002DA2  4EBA 0182                jsr        [PC + 0x182 /* 00002F26 */]
  4514. 00002DA6  5C4F                     addq.w     A7, 6
  4515. 00002DA8  600A                     bra        +0xC /* 00002DB4 */
  4516. label00002DAA:
  4517. 00002DAA  1F03                     move.b     -[A7], D3
  4518. 00002DAC  2F0B                     move.l     -[A7], A3
  4519. 00002DAE  4EBA 01F0                jsr        [PC + 0x1F0 /* 00002FA0 */]
  4520. 00002DB2  5C4F                     addq.w     A7, 6
  4521. label00002DB4:
  4522. 00002DB4  302D 135E                move.w     D0, [A5 + 0x135E]
  4523. 00002DB8  48C0                     ext.l      D0
  4524. 00002DBA  0680 0000 0091           addi.l     D0, 0x91
  4525. 00002DC0  3F00                     move.w     -[A7], D0
  4526. 00002DC2  4EAD DB68                jsr        [A5 - 0x2498]
  4527. 00002DC6  544F                     addq.w     A7, 2
  4528. 00002DC8  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4529. 00002DCC  4E75                     rts
  4530. 00002DCE  48E7 0030                movem.l    -[A7], A2,A3
  4531. 00002DD2  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  4532. 00002DD6  4EBA 013C                jsr        [PC + 0x13C /* 00002F14 */]
  4533. 00002DDA  2448                     movea.l    A2, A0
  4534. 00002DDC  200A                     move.l     D0, A2
  4535. 00002DDE  584F                     addq.w     A7, 4
  4536. 00002DE0  6718                     beq        +0x1A /* 00002DFA */
  4537. 00002DE2  302D 135E                move.w     D0, [A5 + 0x135E]
  4538. 00002DE6  48C0                     ext.l      D0
  4539. 00002DE8  0680 0000 0091           addi.l     D0, 0x91
  4540. 00002DEE  3F00                     move.w     -[A7], D0
  4541. 00002DF0  4EAD DB62                jsr        [A5 - 0x249E]
  4542. 00002DF4  4A80                     tst.l      D0
  4543. 00002DF6  544F                     addq.w     A7, 2
  4544. 00002DF8  6606                     bne        +0x8 /* 00002E00 */
  4545. label00002DFA:
  4546. 00002DFA  4CDF 0C00                movem.l    A2,A3, [A7]+
  4547. 00002DFE  4E75                     rts
  4548. label00002E00:
  4549. 00002E00  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4550. 00002E04  2F0A                     move.l     -[A7], A2
  4551. 00002E06  4EAD F068                jsr        [A5 - 0xF98]
  4552. 00002E0A  2648                     movea.l    A3, A0
  4553. 00002E0C  200B                     move.l     D0, A3
  4554. 00002E0E  504F                     addq.w     A7, 8
  4555. 00002E10  670C                     beq        +0xE /* 00002E1E */
  4556. 00002E12  1F2F 0014                move.b     -[A7], [A7 + 0x14]
  4557. 00002E16  2F0B                     move.l     -[A7], A3
  4558. 00002E18  4EBA 010C                jsr        [PC + 0x10C /* 00002F26 */]
  4559. 00002E1C  5C4F                     addq.w     A7, 6
  4560. label00002E1E:
  4561. 00002E1E  302D 135E                move.w     D0, [A5 + 0x135E]
  4562. 00002E22  48C0                     ext.l      D0
  4563. 00002E24  0680 0000 0091           addi.l     D0, 0x91
  4564. 00002E2A  3F00                     move.w     -[A7], D0
  4565. 00002E2C  4EAD DB68                jsr        [A5 - 0x2498]
  4566. 00002E30  544F                     addq.w     A7, 2
  4567. 00002E32  4CDF 0C00                movem.l    A2,A3, [A7]+
  4568. 00002E36  4E75                     rts
  4569. fn00002E38:
  4570. 00002E38  2F0A                     move.l     -[A7], A2
  4571. 00002E3A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4572. 00002E3E  4EBA 00D4                jsr        [PC + 0xD4 /* 00002F14 */]
  4573. 00002E42  2448                     movea.l    A2, A0
  4574. 00002E44  200A                     move.l     D0, A2
  4575. 00002E46  584F                     addq.w     A7, 4
  4576. 00002E48  6718                     beq        +0x1A /* 00002E62 */
  4577. 00002E4A  302D 135E                move.w     D0, [A5 + 0x135E]
  4578. 00002E4E  48C0                     ext.l      D0
  4579. 00002E50  0680 0000 0091           addi.l     D0, 0x91
  4580. 00002E56  3F00                     move.w     -[A7], D0
  4581. 00002E58  4EAD DB62                jsr        [A5 - 0x249E]
  4582. 00002E5C  4A80                     tst.l      D0
  4583. 00002E5E  544F                     addq.w     A7, 2
  4584. 00002E60  6604                     bne        +0x6 /* 00002E66 */
  4585. label00002E62:
  4586. 00002E62  245F                     movea.l    A2, [A7]+
  4587. 00002E64  4E75                     rts
  4588. label00002E66:
  4589. 00002E66  2F0A                     move.l     -[A7], A2
  4590. 00002E68  4EAD F088                jsr        [A5 - 0xF78]
  4591. 00002E6C  302D 135E                move.w     D0, [A5 + 0x135E]
  4592. 00002E70  48C0                     ext.l      D0
  4593. 00002E72  0680 0000 0091           addi.l     D0, 0x91
  4594. 00002E78  3F00                     move.w     -[A7], D0
  4595. 00002E7A  4EAD DB68                jsr        [A5 - 0x2498]
  4596. 00002E7E  5C4F                     addq.w     A7, 6
  4597. 00002E80  245F                     movea.l    A2, [A7]+
  4598. 00002E82  4E75                     rts
  4599. fn00002E84:
  4600. 00002E84  2F0A                     move.l     -[A7], A2
  4601. 00002E86  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4602. 00002E8A  4EBA 0088                jsr        [PC + 0x88 /* 00002F14 */]
  4603. 00002E8E  2448                     movea.l    A2, A0
  4604. 00002E90  200A                     move.l     D0, A2
  4605. 00002E92  584F                     addq.w     A7, 4
  4606. 00002E94  6718                     beq        +0x1A /* 00002EAE */
  4607. 00002E96  302D 135E                move.w     D0, [A5 + 0x135E]
  4608. 00002E9A  48C0                     ext.l      D0
  4609. 00002E9C  0680 0000 0091           addi.l     D0, 0x91
  4610. 00002EA2  3F00                     move.w     -[A7], D0
  4611. 00002EA4  4EAD DB62                jsr        [A5 - 0x249E]
  4612. 00002EA8  4A80                     tst.l      D0
  4613. 00002EAA  544F                     addq.w     A7, 2
  4614. 00002EAC  6604                     bne        +0x6 /* 00002EB2 */
  4615. label00002EAE:
  4616. 00002EAE  245F                     movea.l    A2, [A7]+
  4617. 00002EB0  4E75                     rts
  4618. label00002EB2:
  4619. 00002EB2  302F 000C                move.w     D0, [A7 + 0xC]
  4620. 00002EB6  48C0                     ext.l      D0
  4621. 00002EB8  2F00                     move.l     -[A7], D0
  4622. 00002EBA  2F0A                     move.l     -[A7], A2
  4623. 00002EBC  4EAD F078                jsr        [A5 - 0xF88]
  4624. 00002EC0  2F0A                     move.l     -[A7], A2
  4625. 00002EC2  4EAD F088                jsr        [A5 - 0xF78]
  4626. 00002EC6  302D 135E                move.w     D0, [A5 + 0x135E]
  4627. 00002ECA  48C0                     ext.l      D0
  4628. 00002ECC  0680 0000 0091           addi.l     D0, 0x91
  4629. 00002ED2  3F00                     move.w     -[A7], D0
  4630. 00002ED4  4EAD DB68                jsr        [A5 - 0x2498]
  4631. 00002ED8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4632. 00002EDC  245F                     movea.l    A2, [A7]+
  4633. 00002EDE  4E75                     rts
  4634. fn00002EE0:
  4635. 00002EE0  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4636. 00002EE4  266F 0014                movea.l    A3, [A7 + 0x14]
  4637. 00002EE8  246F 0018                movea.l    A2, [A7 + 0x18]
  4638. 00002EEC  282F 001C                move.l     D4, [A7 + 0x1C]
  4639. 00002EF0  7600                     moveq.l    D3, 0x00
  4640. 00002EF2  1612                     move.b     D3, [A2]
  4641. 00002EF4  9684                     sub.l      D3, D4
  4642. 00002EF6  41F2 4801                lea.l      A0, [A2 + D4 + 0x1]
  4643. 00002EFA  224B                     movea.l    A1, A3
  4644. 00002EFC  2003                     move.l     D0, D3
  4645. 00002EFE  A02E                     syscall    BlockMove/BlockMoveData
  4646. 00002F00  4233 3800                clr.b      [A3 + D3]
  4647. 00002F04  7000                     moveq.l    D0, 0x00
  4648. 00002F06  1012                     move.b     D0, [A2]
  4649. 00002F08  204A                     movea.l    A0, A2
  4650. 00002F0A  D0C0                     add.w      A0, D0
  4651. 00002F0C  5288                     addq.l     A0, 1
  4652. 00002F0E  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4653. 00002F12  4E75                     rts
  4654. fn00002F14:
  4655. 00002F14  4AAF 0004                tst.l      [A7 + 0x4]
  4656. 00002F18  6706                     beq        +0x8 /* 00002F20 */
  4657. 00002F1A  206F 0004                movea.l    A0, [A7 + 0x4]
  4658. 00002F1E  4E75                     rts
  4659. label00002F20:
  4660. 00002F20  206D A944                movea.l    A0, [A5 - 0x56BC]
  4661. 00002F24  4E75                     rts
  4662. fn00002F26:
  4663. 00002F26  2F0A                     move.l     -[A7], A2
  4664. 00002F28  246F 0008                movea.l    A2, [A7 + 0x8]
  4665. 00002F2C  7000                     moveq.l    D0, 0x00
  4666. 00002F2E  102F 000C                move.b     D0, [A7 + 0xC]
  4667. 00002F32  0C80 0000 0005           cmpi.l     D0, 0x5
  4668. 00002F38  6262                     bhi        +0x64 /* 00002F9C */
  4669. 00002F3A  D040                     add.w      D0, D0
  4670. 00002F3C  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  4671. 00002F40  4EFB 0002                jmp        [PC + D0.w + 0x2]
  4672. 00002F44  000C 001A                ori.b      A4, 0x1A
  4673. 00002F48  0026 0034                ori.b      -[A6], 0x34 /* '4' */
  4674. 00002F4C  0040 004E                ori.w      D0, 0x4E /* 'N' */
  4675. 00002F50  4878 0001                push.l     0x1
  4676. 00002F54  2F0A                     move.l     -[A7], A2
  4677. 00002F56  4EAD F108                jsr        [A5 - 0xEF8]
  4678. 00002F5A  504F                     addq.w     A7, 8
  4679. 00002F5C  603E                     bra        +0x40 /* 00002F9C */
  4680. 00002F5E  42A7                     clr.l      -[A7]
  4681. 00002F60  2F0A                     move.l     -[A7], A2
  4682. 00002F62  4EAD F108                jsr        [A5 - 0xEF8]
  4683. 00002F66  504F                     addq.w     A7, 8
  4684. 00002F68  6032                     bra        +0x34 /* 00002F9C */
  4685. 00002F6A  4878 0001                push.l     0x1
  4686. 00002F6E  2F0A                     move.l     -[A7], A2
  4687. 00002F70  4EAD F100                jsr        [A5 - 0xF00]
  4688. 00002F74  504F                     addq.w     A7, 8
  4689. 00002F76  6024                     bra        +0x26 /* 00002F9C */
  4690. 00002F78  42A7                     clr.l      -[A7]
  4691. 00002F7A  2F0A                     move.l     -[A7], A2
  4692. 00002F7C  4EAD F100                jsr        [A5 - 0xF00]
  4693. 00002F80  504F                     addq.w     A7, 8
  4694. 00002F82  6018                     bra        +0x1A /* 00002F9C */
  4695. 00002F84  4878 0001                push.l     0x1
  4696. 00002F88  2F0A                     move.l     -[A7], A2
  4697. 00002F8A  4EAD F0E0                jsr        [A5 - 0xF20]
  4698. 00002F8E  504F                     addq.w     A7, 8
  4699. 00002F90  600A                     bra        +0xC /* 00002F9C */
  4700. 00002F92  42A7                     clr.l      -[A7]
  4701. 00002F94  2F0A                     move.l     -[A7], A2
  4702. 00002F96  4EAD F0E0                jsr        [A5 - 0xF20]
  4703. 00002F9A  504F                     addq.w     A7, 8
  4704. label00002F9C:
  4705. 00002F9C  245F                     movea.l    A2, [A7]+
  4706. 00002F9E  4E75                     rts
  4707. fn00002FA0:
  4708. 00002FA0  2F0A                     move.l     -[A7], A2
  4709. 00002FA2  246F 0008                movea.l    A2, [A7 + 0x8]
  4710. 00002FA6  7000                     moveq.l    D0, 0x00
  4711. 00002FA8  102F 000C                move.b     D0, [A7 + 0xC]
  4712. 00002FAC  6728                     beq        +0x2A /* 00002FD6 */
  4713. 00002FAE  5380                     subq.l     D0, 1
  4714. 00002FB0  672C                     beq        +0x2E /* 00002FDE */
  4715. 00002FB2  5380                     subq.l     D0, 1
  4716. 00002FB4  6706                     beq        +0x8 /* 00002FBC */
  4717. 00002FB6  5380                     subq.l     D0, 1
  4718. 00002FB8  6710                     beq        +0x12 /* 00002FCA */
  4719. 00002FBA  4E71                     nop
  4720. label00002FBC:
  4721. 00002FBC  4878 0001                push.l     0x1
  4722. 00002FC0  2F0A                     move.l     -[A7], A2
  4723. 00002FC2  4EAD F140                jsr        [A5 - 0xEC0]
  4724. 00002FC6  504F                     addq.w     A7, 8
  4725. 00002FC8  601A                     bra        +0x1C /* 00002FE4 */
  4726. label00002FCA:
  4727. 00002FCA  42A7                     clr.l      -[A7]
  4728. 00002FCC  2F0A                     move.l     -[A7], A2
  4729. 00002FCE  4EAD F140                jsr        [A5 - 0xEC0]
  4730. 00002FD2  504F                     addq.w     A7, 8
  4731. 00002FD4  600E                     bra        +0x10 /* 00002FE4 */
  4732. label00002FD6:
  4733. 00002FD6  002A 0010 0024           ori.b      [A2 + 0x24], 0x10
  4734. 00002FDC  6006                     bra        +0x8 /* 00002FE4 */
  4735. label00002FDE:
  4736. 00002FDE  022A 00EF 0024           andi.b     [A2 + 0x24], 0xEF
  4737. label00002FE4:
  4738. 00002FE4  245F                     movea.l    A2, [A7]+
  4739. 00002FE6  4E75                     rts
  4740. fn00002FE8:
  4741. 00002FE8  7000                     moveq.l    D0, 0x00
  4742. 00002FEA  102F 0008                move.b     D0, [A7 + 0x8]
  4743. 00002FEE  6706                     beq        +0x8 /* 00002FF6 */
  4744. 00002FF0  5380                     subq.l     D0, 1
  4745. 00002FF2  6702                     beq        +0x4 /* 00002FF6 */
  4746. 00002FF4  6018                     bra        +0x1A /* 0000300E */
  4747. label00002FF6:
  4748. 00002FF6  4A2F 0008                tst.b      [A7 + 0x8]
  4749. 00002FFA  57C0                     seq        D0
  4750. 00002FFC  4400                     neg.b      D0
  4751. 00002FFE  4880                     ext.w      D0
  4752. 00003000  48C0                     ext.l      D0
  4753. 00003002  2F00                     move.l     -[A7], D0
  4754. 00003004  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4755. 00003008  4EAD F080                jsr        [A5 - 0xF80]
  4756. 0000300C  504F                     addq.w     A7, 8
  4757. label0000300E:
  4758. 0000300E  4E75                     rts
  4759. fn00003010:
  4760. 00003010  2F0A                     move.l     -[A7], A2
  4761. 00003012  246F 0008                movea.l    A2, [A7 + 0x8]
  4762. 00003016  200A                     move.l     D0, A2
  4763. 00003018  6714                     beq        +0x16 /* 0000302E */
  4764. 0000301A  41ED B4C4                lea.l      A0, [A5 - 0x4B3C]
  4765. 0000301E  2488                     move.l     [A2], A0
  4766. 00003020  4A6F 000C                tst.w      [A7 + 0xC]
  4767. 00003024  6F08                     ble        +0xA /* 0000302E */
  4768. 00003026  2F0A                     move.l     -[A7], A2
  4769. 00003028  4EAD F168                jsr        [A5 - 0xE98]
  4770. 0000302C  584F                     addq.w     A7, 4
  4771. label0000302E:
  4772. 0000302E  204A                     movea.l    A0, A2
  4773. 00003030  245F                     movea.l    A2, [A7]+
  4774. 00003032  4E75                     rts
  4775. 00003034  2F0A                     move.l     -[A7], A2
  4776. 00003036  246F 0008                movea.l    A2, [A7 + 0x8]
  4777. 0000303A  200A                     move.l     D0, A2
  4778. 0000303C  671E                     beq        +0x20 /* 0000305C */
  4779. 0000303E  41ED B4BC                lea.l      A0, [A5 - 0x4B44]
  4780. 00003042  2488                     move.l     [A2], A0
  4781. 00003044  4267                     clr.w      -[A7]
  4782. 00003046  2F0A                     move.l     -[A7], A2
  4783. 00003048  4EBA FFC6                jsr        [PC - 0x3A /* 00003010 */]
  4784. 0000304C  4A6F 0012                tst.w      [A7 + 0x12]
  4785. 00003050  5C4F                     addq.w     A7, 6
  4786. 00003052  6F08                     ble        +0xA /* 0000305C */
  4787. 00003054  2F0A                     move.l     -[A7], A2
  4788. 00003056  4EAD F168                jsr        [A5 - 0xE98]
  4789. 0000305A  584F                     addq.w     A7, 4
  4790. label0000305C:
  4791. 0000305C  204A                     movea.l    A0, A2
  4792. 0000305E  245F                     movea.l    A2, [A7]+
  4793. 00003060  4E75                     rts
  4794. 00003062  2F0A                     move.l     -[A7], A2
  4795. 00003064  246F 0008                movea.l    A2, [A7 + 0x8]
  4796. 00003068  200A                     move.l     D0, A2
  4797. 0000306A  671E                     beq        +0x20 /* 0000308A */
  4798. 0000306C  41ED B4B4                lea.l      A0, [A5 - 0x4B4C]
  4799. 00003070  2488                     move.l     [A2], A0
  4800. 00003072  4267                     clr.w      -[A7]
  4801. 00003074  2F0A                     move.l     -[A7], A2
  4802. 00003076  4EBA FF98                jsr        [PC - 0x68 /* 00003010 */]
  4803. 0000307A  4A6F 0012                tst.w      [A7 + 0x12]
  4804. 0000307E  5C4F                     addq.w     A7, 6
  4805. 00003080  6F08                     ble        +0xA /* 0000308A */
  4806. 00003082  2F0A                     move.l     -[A7], A2
  4807. 00003084  4EAD F168                jsr        [A5 - 0xE98]
  4808. 00003088  584F                     addq.w     A7, 4
  4809. label0000308A:
  4810. 0000308A  204A                     movea.l    A0, A2
  4811. 0000308C  245F                     movea.l    A2, [A7]+
  4812. 0000308E  4E75                     rts
  4813. 00003090  2F0A                     move.l     -[A7], A2
  4814. 00003092  246F 0008                movea.l    A2, [A7 + 0x8]
  4815. 00003096  200A                     move.l     D0, A2
  4816. 00003098  671E                     beq        +0x20 /* 000030B8 */
  4817. 0000309A  41ED B4AC                lea.l      A0, [A5 - 0x4B54]
  4818. 0000309E  2488                     move.l     [A2], A0
  4819. 000030A0  4267                     clr.w      -[A7]
  4820. 000030A2  2F0A                     move.l     -[A7], A2
  4821. 000030A4  4EBA FF6A                jsr        [PC - 0x96 /* 00003010 */]
  4822. 000030A8  4A6F 0012                tst.w      [A7 + 0x12]
  4823. 000030AC  5C4F                     addq.w     A7, 6
  4824. 000030AE  6F08                     ble        +0xA /* 000030B8 */
  4825. 000030B0  2F0A                     move.l     -[A7], A2
  4826. 000030B2  4EAD F168                jsr        [A5 - 0xE98]
  4827. 000030B6  584F                     addq.w     A7, 4
  4828. label000030B8:
  4829. 000030B8  204A                     movea.l    A0, A2
  4830. 000030BA  245F                     movea.l    A2, [A7]+
  4831. 000030BC  4E75                     rts
  4832. 000030BE  5D4F                     subq.w     A7, 6
  4833. 000030C0  206F 000E                movea.l    A0, [A7 + 0xE]
  4834. 000030C4  4290                     clr.l      [A0]
  4835. 000030C6  4EAD DB08                jsr        [A5 - 0x24F8]
  4836. 000030CA  3F40 0004                move.w     [A7 + 0x4], D0
  4837. 000030CE  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  4838. 000030D2  4EAD DB0E                jsr        [A5 - 0x24F2]
  4839. 000030D6  7000                     moveq.l    D0, 0x00
  4840. 000030D8  102F 000E                move.b     D0, [A7 + 0xE]
  4841. 000030DC  5280                     addq.l     D0, 1
  4842. 000030DE  2F00                     move.l     -[A7], D0
  4843. 000030E0  4878 000E                push.l     0xE
  4844. 000030E4  4EAD DC58                jsr        [A5 - 0x23A8]
  4845. 000030E8  2F48 000A                move.l     [A7 + 0xA], A0
  4846. 000030EC  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  4847. 000030F0  4EAD DB0E                jsr        [A5 - 0x24F2]
  4848. 000030F4  206F 000C                movea.l    A0, [A7 + 0xC]
  4849. 000030F8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4850. 000030FC  4E75                     rts
  4851. 000030FE  5D4F                     subq.w     A7, 6
  4852. 00003100  4EAD DB08                jsr        [A5 - 0x24F8]
  4853. 00003104  3F40 0004                move.w     [A7 + 0x4], D0
  4854. 00003108  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  4855. 0000310C  4EAD DB0E                jsr        [A5 - 0x24F2]
  4856. 00003110  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4857. 00003114  4878 0045                push.l     0x45 /* 'E' */
  4858. 00003118  4EAD DC58                jsr        [A5 - 0x23A8]
  4859. 0000311C  2F48 000A                move.l     [A7 + 0xA], A0
  4860. 00003120  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  4861. 00003124  4EAD DB0E                jsr        [A5 - 0x24F2]
  4862. 00003128  206F 000C                movea.l    A0, [A7 + 0xC]
  4863. 0000312C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4864. 00003130  4E75                     rts
  4865. 00003132  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  4866. 00003136  382F 0018                move.w     D4, [A7 + 0x18]
  4867. 0000313A  286F 001A                movea.l    A4, [A7 + 0x1A]
  4868. 0000313E  266F 001E                movea.l    A3, [A7 + 0x1E]
  4869. 00003142  4EAD DB08                jsr        [A5 - 0x24F8]
  4870. 00003146  3600                     move.w     D3, D0
  4871. 00003148  3F04                     move.w     -[A7], D4
  4872. 0000314A  4EAD DB0E                jsr        [A5 - 0x24F2]
  4873. 0000314E  4878 0001                push.l     0x1
  4874. 00003152  4878 0033                push.l     0x33 /* '3' */
  4875. 00003156  4EAD DB26                jsr        [A5 - 0x24DA]
  4876. 0000315A  2448                     movea.l    A2, A0
  4877. 0000315C  2008                     move.l     D0, A0
  4878. 0000315E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4879. 00003162  6714                     beq        +0x16 /* 00003178 */
  4880. 00003164  2F0B                     move.l     -[A7], A3
  4881. 00003166  2F0C                     move.l     -[A7], A4
  4882. 00003168  2052                     movea.l    A0, [A2]
  4883. 0000316A  2F10                     move.l     -[A7], [A0]
  4884. 0000316C  3F04                     move.w     -[A7], D4
  4885. 0000316E  4EBA 0A7E                jsr        [PC + 0xA7E /* 00003BEE */]
  4886. 00003172  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4887. 00003176  6004                     bra        +0x6 /* 0000317C */
  4888. label00003178:
  4889. 00003178  4293                     clr.l      [A3]
  4890. 0000317A  4294                     clr.l      [A4]
  4891. label0000317C:
  4892. 0000317C  3F03                     move.w     -[A7], D3
  4893. 0000317E  4EAD DB0E                jsr        [A5 - 0x24F2]
  4894. 00003182  544F                     addq.w     A7, 2
  4895. 00003184  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  4896. 00003188  4E75                     rts
  4897. 0000318A  5D4F                     subq.w     A7, 6
  4898. 0000318C  4EAD DB08                jsr        [A5 - 0x24F8]
  4899. 00003190  3E80                     move.w     [A7], D0
  4900. 00003192  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  4901. 00003196  4EAD DB0E                jsr        [A5 - 0x24F2]
  4902. 0000319A  4878 0001                push.l     0x1
  4903. 0000319E  4878 0049                push.l     0x49 /* 'I' */
  4904. 000031A2  4EAD DB26                jsr        [A5 - 0x24DA]
  4905. 000031A6  2008                     move.l     D0, A0
  4906. 000031A8  56C0                     sne        D0
  4907. 000031AA  4400                     neg.b      D0
  4908. 000031AC  4880                     ext.w      D0
  4909. 000031AE  48C0                     ext.l      D0
  4910. 000031B0  2F40 000C                move.l     [A7 + 0xC], D0
  4911. 000031B4  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  4912. 000031B8  4EAD DB0E                jsr        [A5 - 0x24F2]
  4913. 000031BC  202F 000E                move.l     D0, [A7 + 0xE]
  4914. 000031C0  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4915. 000031C4  4E75                     rts
  4916. 000031C6  554F                     subq.w     A7, 2
  4917. 000031C8  4EAD DB08                jsr        [A5 - 0x24F8]
  4918. 000031CC  3E80                     move.w     [A7], D0
  4919. 000031CE  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  4920. 000031D2  4EAD DB0E                jsr        [A5 - 0x24F2]
  4921. 000031D6  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4922. 000031DA  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4923. 000031DE  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4924. 000031E2  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4925. 000031E6  4EBA CE20                jsr        [PC - 0x31E0 /* 00000008 */]
  4926. 000031EA  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  4927. 000031EE  4EAD DB0E                jsr        [A5 - 0x24F2]
  4928. 000031F2  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4929. 000031F6  4E75                     rts
  4930. 000031F8  48E7 1820                movem.l    -[A7], D3,D4,A2
  4931. 000031FC  282F 0012                move.l     D4, [A7 + 0x12]
  4932. 00003200  4A84                     tst.l      D4
  4933. 00003202  6C08                     bge        +0xA /* 0000320C */
  4934. 00003204  91C8                     sub.l      A0, A0
  4935. 00003206  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4936. 0000320A  4E75                     rts
  4937. label0000320C:
  4938. 0000320C  4EAD DB08                jsr        [A5 - 0x24F8]
  4939. 00003210  3600                     move.w     D3, D0
  4940. 00003212  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  4941. 00003216  4EAD DB0E                jsr        [A5 - 0x24F2]
  4942. 0000321A  2004                     move.l     D0, D4
  4943. 0000321C  5280                     addq.l     D0, 1
  4944. 0000321E  2F00                     move.l     -[A7], D0
  4945. 00003220  4878 0023                push.l     0x23 /* '#' */
  4946. 00003224  4EAD DB26                jsr        [A5 - 0x24DA]
  4947. 00003228  2448                     movea.l    A2, A0
  4948. 0000322A  3F03                     move.w     -[A7], D3
  4949. 0000322C  4EAD DB0E                jsr        [A5 - 0x24F2]
  4950. 00003230  204A                     movea.l    A0, A2
  4951. 00003232  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4952. 00003236  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4953. 0000323A  4E75                     rts
  4954. 0000323C  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  4955. 00003240  4FEF FF00                lea.l      A7, [A7 - 0x100]
  4956. 00003244  2A2F 011A                move.l     D5, [A7 + 0x11A]
  4957. 00003248  246F 011E                movea.l    A2, [A7 + 0x11E]
  4958. 0000324C  262F 0122                move.l     D3, [A7 + 0x122]
  4959. 00003250  4A85                     tst.l      D5
  4960. 00003252  6D6E                     blt        +0x70 /* 000032C2 */
  4961. 00003254  4EAD DB08                jsr        [A5 - 0x24F8]
  4962. 00003258  3800                     move.w     D4, D0
  4963. 0000325A  3F2F 0118                move.w     -[A7], [A7 + 0x118]
  4964. 0000325E  4EAD DB0E                jsr        [A5 - 0x24F2]
  4965. 00003262  4212                     clr.b      [A2]
  4966. 00003264  2005                     move.l     D0, D5
  4967. 00003266  5280                     addq.l     D0, 1
  4968. 00003268  2F00                     move.l     -[A7], D0
  4969. 0000326A  4878 0022                push.l     0x22 /* '\"' */
  4970. 0000326E  4EAD DC58                jsr        [A5 - 0x23A8]
  4971. 00003272  2648                     movea.l    A3, A0
  4972. 00003274  2008                     move.l     D0, A0
  4973. 00003276  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4974. 0000327A  6712                     beq        +0x14 /* 0000328E */
  4975. 0000327C  2003                     move.l     D0, D3
  4976. 0000327E  5380                     subq.l     D0, 1
  4977. 00003280  2F00                     move.l     -[A7], D0
  4978. 00003282  2F13                     move.l     -[A7], [A3]
  4979. 00003284  2F0A                     move.l     -[A7], A2
  4980. 00003286  4EAD D964                jsr        [A5 - 0x269C]
  4981. 0000328A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4982. label0000328E:
  4983. 0000328E  3F04                     move.w     -[A7], D4
  4984. 00003290  4EAD DB0E                jsr        [A5 - 0x24F2]
  4985. 00003294  4A12                     tst.b      [A2]
  4986. 00003296  544F                     addq.w     A7, 2
  4987. 00003298  664E                     bne        +0x50 /* 000032E8 */
  4988. 0000329A  4857                     pea.l      [A7]
  4989. 0000329C  302D 135E                move.w     D0, [A5 + 0x135E]
  4990. 000032A0  48C0                     ext.l      D0
  4991. 000032A2  0680 0000 0082           addi.l     D0, 0x82
  4992. 000032A8  3F00                     move.w     -[A7], D0
  4993. 000032AA  3F3C 0001                move.w     -[A7], 0x1
  4994. 000032AE  4EAD DA4E                jsr        [A5 - 0x25B2]
  4995. 000032B2  4857                     pea.l      [A7]
  4996. 000032B4  2F03                     move.l     -[A7], D3
  4997. 000032B6  2F0A                     move.l     -[A7], A2
  4998. 000032B8  4EAD DDD0                jsr        [A5 - 0x2230]
  4999. 000032BC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5000. 000032C0  6026                     bra        +0x28 /* 000032E8 */
  5001. label000032C2:
  5002. 000032C2  4857                     pea.l      [A7]
  5003. 000032C4  302D 135E                move.w     D0, [A5 + 0x135E]
  5004. 000032C8  48C0                     ext.l      D0
  5005. 000032CA  0680 0000 0081           addi.l     D0, 0x81
  5006. 000032D0  3F00                     move.w     -[A7], D0
  5007. 000032D2  3F3C 0002                move.w     -[A7], 0x2
  5008. 000032D6  4EAD DA4E                jsr        [A5 - 0x25B2]
  5009. 000032DA  4857                     pea.l      [A7]
  5010. 000032DC  2F03                     move.l     -[A7], D3
  5011. 000032DE  2F0A                     move.l     -[A7], A2
  5012. 000032E0  4EAD DDD0                jsr        [A5 - 0x2230]
  5013. 000032E4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5014. label000032E8:
  5015. 000032E8  4FEF 0100                lea.l      A7, [A7 + 0x100]
  5016. 000032EC  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5017. 000032F0  4E75                     rts
  5018. 000032F2  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  5019. 000032F6  3C2F 0024                move.w     D6, [A7 + 0x24]
  5020. 000032FA  262F 0026                move.l     D3, [A7 + 0x26]
  5021. 000032FE  286F 002A                movea.l    A4, [A7 + 0x2A]
  5022. 00003302  2A2F 002E                move.l     D5, [A7 + 0x2E]
  5023. 00003306  2E2F 0032                move.l     D7, [A7 + 0x32]
  5024. 0000330A  4214                     clr.b      [A4]
  5025. 0000330C  7001                     moveq.l    D0, 0x01
  5026. 0000330E  BE80                     cmp.l      D7, D0
  5027. 00003310  6652                     bne        +0x54 /* 00003364 */
  5028. 00003312  6040                     bra        +0x42 /* 00003354 */
  5029. label00003314:
  5030. 00003314  2453                     movea.l    A2, [A3]
  5031. 00003316  41EA 002C                lea.l      A0, [A2 + 0x2C]
  5032. 0000331A  70FF                     moveq.l    D0, 0xFFFFFFFF
  5033. label0000331C:
  5034. 0000331C  5280                     addq.l     D0, 1
  5035. 0000331E  4A18                     tst.b      [A0]+
  5036. 00003320  66FA                     bne        -0x4 /* 0000331C */
  5037. 00003322  5280                     addq.l     D0, 1
  5038. 00003324  2600                     move.l     D3, D0
  5039. 00003326  41F2 382C                lea.l      A0, [A2 + D3 + 0x2C]
  5040. 0000332A  70FF                     moveq.l    D0, 0xFFFFFFFF
  5041. label0000332C:
  5042. 0000332C  5280                     addq.l     D0, 1
  5043. 0000332E  4A18                     tst.b      [A0]+
  5044. 00003330  66FA                     bne        -0x4 /* 0000332C */
  5045. 00003332  2800                     move.l     D4, D0
  5046. 00003334  672E                     beq        +0x30 /* 00003364 */
  5047. 00003336  2005                     move.l     D0, D5
  5048. 00003338  5380                     subq.l     D0, 1
  5049. 0000333A  2F00                     move.l     -[A7], D0
  5050. 0000333C  4872 382C                pea.l      [A2 + D3 + 0x2C]
  5051. 00003340  2F0C                     move.l     -[A7], A4
  5052. 00003342  4EAD D964                jsr        [A5 - 0x269C]
  5053. 00003346  2004                     move.l     D0, D4
  5054. 00003348  5280                     addq.l     D0, 1
  5055. 0000334A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5056. 0000334E  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5057. 00003352  4E75                     rts
  5058. label00003354:
  5059. 00003354  2F03                     move.l     -[A7], D3
  5060. 00003356  3F06                     move.w     -[A7], D6
  5061. 00003358  4EBA 1622                jsr        [PC + 0x1622 /* 0000497C */]
  5062. 0000335C  2648                     movea.l    A3, A0
  5063. 0000335E  2008                     move.l     D0, A0
  5064. 00003360  5C4F                     addq.w     A7, 6
  5065. 00003362  66B0                     bne        -0x4E /* 00003314 */
  5066. label00003364:
  5067. 00003364  7600                     moveq.l    D3, 0x00
  5068. 00003366  4EAD DB08                jsr        [A5 - 0x24F8]
  5069. 0000336A  3800                     move.w     D4, D0
  5070. 0000336C  3F06                     move.w     -[A7], D6
  5071. 0000336E  4EAD DB0E                jsr        [A5 - 0x24F2]
  5072. 00003372  2F07                     move.l     -[A7], D7
  5073. 00003374  4878 0003                push.l     0x3
  5074. 00003378  4EAD DC58                jsr        [A5 - 0x23A8]
  5075. 0000337C  2448                     movea.l    A2, A0
  5076. 0000337E  2008                     move.l     D0, A0
  5077. 00003380  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5078. 00003384  6722                     beq        +0x24 /* 000033A8 */
  5079. 00003386  594F                     subq.w     A7, 4
  5080. 00003388  2F0A                     move.l     -[A7], A2
  5081. 0000338A  4EAD D9AC                jsr        [A5 - 0x2654]
  5082. 0000338E  201F                     move.l     D0, [A7]+
  5083. 00003390  2600                     move.l     D3, D0
  5084. 00003392  200C                     move.l     D0, A4
  5085. 00003394  6712                     beq        +0x14 /* 000033A8 */
  5086. 00003396  2005                     move.l     D0, D5
  5087. 00003398  5380                     subq.l     D0, 1
  5088. 0000339A  2F00                     move.l     -[A7], D0
  5089. 0000339C  2F12                     move.l     -[A7], [A2]
  5090. 0000339E  2F0C                     move.l     -[A7], A4
  5091. 000033A0  4EAD D964                jsr        [A5 - 0x269C]
  5092. 000033A4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5093. label000033A8:
  5094. 000033A8  3F04                     move.w     -[A7], D4
  5095. 000033AA  4EAD DB0E                jsr        [A5 - 0x24F2]
  5096. 000033AE  2003                     move.l     D0, D3
  5097. 000033B0  544F                     addq.w     A7, 2
  5098. 000033B2  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5099. 000033B6  4E75                     rts
  5100. fn000033B8:
  5101. 000033B8  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5102. 000033BC  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  5103. 000033C0  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  5104. 000033C4  4EAD DD80                jsr        [A5 - 0x2280]
  5105. 000033C8  2448                     movea.l    A2, A0
  5106. 000033CA  4AAF 003C                tst.l      [A7 + 0x3C]
  5107. 000033CE  584F                     addq.w     A7, 4
  5108. 000033D0  6604                     bne        +0x6 /* 000033D6 */
  5109. 000033D2  91C8                     sub.l      A0, A0
  5110. 000033D4  600A                     bra        +0xC /* 000033E0 */
  5111. label000033D6:
  5112. 000033D6  2F2F 0038                move.l     -[A7], [A7 + 0x38]
  5113. 000033DA  4EAD DD80                jsr        [A5 - 0x2280]
  5114. 000033DE  584F                     addq.w     A7, 4
  5115. label000033E0:
  5116. 000033E0  2E08                     move.l     D7, A0
  5117. 000033E2  7A00                     moveq.l    D5, 0x00
  5118. 000033E4  4297                     clr.l      [A7]
  5119. 000033E6  3052                     movea.w    A0, [A2]
  5120. 000033E8  2F48 0004                move.l     [A7 + 0x4], A0
  5121. 000033EC  548A                     addq.l     A2, 2
  5122. 000033EE  202F 0004                move.l     D0, [A7 + 0x4]
  5123. 000033F2  7214                     moveq.l    D1, 0x14
  5124. 000033F4  4EAD D8F8                jsr        [A5 - 0x2708]
  5125. 000033F8  206F 003C                movea.l    A0, [A7 + 0x3C]
  5126. 000033FC  A024                     syscall    SetHandleSize
  5127. 000033FE  554F                     subq.w     A7, 2
  5128. 00003400  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5129. 00003404  301F                     move.w     D0, [A7]+
  5130. 00003406  3A00                     move.w     D5, D0
  5131. 00003408  4A45                     tst.w      D5
  5132. 0000340A  6600 00E6                bne        +0xE8 /* 000034F2 */
  5133. 0000340E  206F 003C                movea.l    A0, [A7 + 0x3C]
  5134. 00003412  A029                     syscall    HLock
  5135. 00003414  206F 003C                movea.l    A0, [A7 + 0x3C]
  5136. 00003418  2650                     movea.l    A3, [A0]
  5137. 0000341A  7C00                     moveq.l    D6, 0x00
  5138. 0000341C  6000 00B0                bra        +0xB2 /* 000034CE */
  5139. label00003420:
  5140. 00003420  7600                     moveq.l    D3, 0x00
  5141. 00003422  4AAF 0040                tst.l      [A7 + 0x40]
  5142. 00003426  6720                     beq        +0x22 /* 00003448 */
  5143. 00003428  2F0A                     move.l     -[A7], A2
  5144. 0000342A  4EAD FF10                jsr        [A5 - 0xF0]
  5145. 0000342E  3740 0010                move.w     [A3 + 0x10], D0
  5146. 00003432  7000                     moveq.l    D0, 0x00
  5147. 00003434  1012                     move.b     D0, [A2]
  5148. 00003436  5280                     addq.l     D0, 1
  5149. 00003438  D5C0                     add.l      A2, D0
  5150. 0000343A  302B 0010                move.w     D0, [A3 + 0x10]
  5151. 0000343E  48C0                     ext.l      D0
  5152. 00003440  4A80                     tst.l      D0
  5153. 00003442  584F                     addq.w     A7, 4
  5154. 00003444  6C02                     bge        +0x4 /* 00003448 */
  5155. 00003446  7601                     moveq.l    D3, 0x01
  5156. label00003448:
  5157. 00003448  204A                     movea.l    A0, A2
  5158. 0000344A  70FF                     moveq.l    D0, 0xFFFFFFFF
  5159. label0000344C:
  5160. 0000344C  5280                     addq.l     D0, 1
  5161. 0000344E  4A18                     tst.b      [A0]+
  5162. 00003450  66FA                     bne        -0x4 /* 0000344C */
  5163. 00003452  5280                     addq.l     D0, 1
  5164. 00003454  2800                     move.l     D4, D0
  5165. 00003456  4A83                     tst.l      D3
  5166. 00003458  661E                     bne        +0x20 /* 00003478 */
  5167. 0000345A  2004                     move.l     D0, D4
  5168. 0000345C  A122                     syscall    NewHandle, flags=1
  5169. 0000345E  2688                     move.l     [A3], A0
  5170. 00003460  554F                     subq.w     A7, 2
  5171. 00003462  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5172. 00003466  301F                     move.w     D0, [A7]+
  5173. 00003468  3A00                     move.w     D5, D0
  5174. 0000346A  4A45                     tst.w      D5
  5175. 0000346C  6668                     bne        +0x6A /* 000034D6 */
  5176. 0000346E  204A                     movea.l    A0, A2
  5177. 00003470  2253                     movea.l    A1, [A3]
  5178. 00003472  2251                     movea.l    A1, [A1]
  5179. 00003474  2004                     move.l     D0, D4
  5180. 00003476  A02E                     syscall    BlockMove/BlockMoveData
  5181. label00003478:
  5182. 00003478  D5C4                     add.l      A2, D4
  5183. 0000347A  284A                     movea.l    A4, A2
  5184. 0000347C  4DEF 0008                lea.l      A6, [A7 + 0x8]
  5185. 00003480  1CDC                     move.b     [A6]+, [A4]+
  5186. 00003482  1CDC                     move.b     [A6]+, [A4]+
  5187. 00003484  1CDC                     move.b     [A6]+, [A4]+
  5188. 00003486  1C94                     move.b     [A6], [A4]
  5189. 00003488  276F 0008 0004           move.l     [A3 + 0x4], [A7 + 0x8]
  5190. 0000348E  588A                     addq.l     A2, 4
  5191. 00003490  284A                     movea.l    A4, A2
  5192. 00003492  2C4B                     movea.l    A6, A3
  5193. 00003494  508E                     addq.l     A6, 8
  5194. 00003496  588E                     addq.l     A6, 4
  5195. 00003498  1CDC                     move.b     [A6]+, [A4]+
  5196. 0000349A  1C94                     move.b     [A6], [A4]
  5197. 0000349C  548A                     addq.l     A2, 2
  5198. 0000349E  284A                     movea.l    A4, A2
  5199. 000034A0  2C4B                     movea.l    A6, A3
  5200. 000034A2  508E                     addq.l     A6, 8
  5201. 000034A4  5C8E                     addq.l     A6, 6
  5202. 000034A6  1CDC                     move.b     [A6]+, [A4]+
  5203. 000034A8  1C94                     move.b     [A6], [A4]
  5204. 000034AA  548A                     addq.l     A2, 2
  5205. 000034AC  175A 0012                move.b     [A3 + 0x12], [A2]+
  5206. 000034B0  4A87                     tst.l      D7
  5207. 000034B2  6604                     bne        +0x6 /* 000034B8 */
  5208. 000034B4  70FF                     moveq.l    D0, 0xFFFFFFFF
  5209. 000034B6  6006                     bra        +0x8 /* 000034BE */
  5210. label000034B8:
  5211. 000034B8  2047                     movea.l    A0, D7
  5212. 000034BA  5887                     addq.l     D7, 4
  5213. 000034BC  2010                     move.l     D0, [A0]
  5214. label000034BE:
  5215. 000034BE  2740 0008                move.l     [A3 + 0x8], D0
  5216. 000034C2  4A83                     tst.l      D3
  5217. 000034C4  6606                     bne        +0x8 /* 000034CC */
  5218. 000034C6  7014                     moveq.l    D0, 0x14
  5219. 000034C8  D7C0                     add.l      A3, D0
  5220. 000034CA  5297                     addq.l     [A7], 1
  5221. label000034CC:
  5222. 000034CC  5286                     addq.l     D6, 1
  5223. label000034CE:
  5224. 000034CE  BCAF 0004                cmp.l      D6, [A7 + 0x4]
  5225. 000034D2  6D00 FF4C                blt        -0xB2 /* 00003420 */
  5226. label000034D6:
  5227. 000034D6  206F 003C                movea.l    A0, [A7 + 0x3C]
  5228. 000034DA  A02A                     syscall    HUnlock
  5229. 000034DC  2017                     move.l     D0, [A7]
  5230. 000034DE  B0AF 0004                cmp.l      D0, [A7 + 0x4]
  5231. 000034E2  670E                     beq        +0x10 /* 000034F2 */
  5232. 000034E4  2017                     move.l     D0, [A7]
  5233. 000034E6  7214                     moveq.l    D1, 0x14
  5234. 000034E8  4EAD D8F8                jsr        [A5 - 0x2708]
  5235. 000034EC  206F 003C                movea.l    A0, [A7 + 0x3C]
  5236. 000034F0  A024                     syscall    SetHandleSize
  5237. label000034F2:
  5238. 000034F2  4AAF 0038                tst.l      [A7 + 0x38]
  5239. 000034F6  670A                     beq        +0xC /* 00003502 */
  5240. 000034F8  2F2F 0038                move.l     -[A7], [A7 + 0x38]
  5241. 000034FC  4EAD DD88                jsr        [A5 - 0x2278]
  5242. 00003500  584F                     addq.w     A7, 4
  5243. label00003502:
  5244. 00003502  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  5245. 00003506  4EAD DD88                jsr        [A5 - 0x2278]
  5246. 0000350A  3005                     move.w     D0, D5
  5247. 0000350C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5248. 00003510  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5249. 00003514  4E75                     rts
  5250. 00003516  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  5251. 0000351A  286F 001A                movea.l    A4, [A7 + 0x1A]
  5252. 0000351E  554F                     subq.w     A7, 2
  5253. 00003520  A994                     syscall    CurResFile
  5254. 00003522  301F                     move.w     D0, [A7]+
  5255. 00003524  3800                     move.w     D4, D0
  5256. 00003526  7000                     moveq.l    D0, 0x00
  5257. 00003528  A122                     syscall    NewHandle, flags=1
  5258. 0000352A  2888                     move.l     [A4], A0
  5259. 0000352C  554F                     subq.w     A7, 2
  5260. 0000352E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5261. 00003532  301F                     move.w     D0, [A7]+
  5262. 00003534  3600                     move.w     D3, D0
  5263. 00003536  4A43                     tst.w      D3
  5264. 00003538  6708                     beq        +0xA /* 00003542 */
  5265. 0000353A  3003                     move.w     D0, D3
  5266. 0000353C  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  5267. 00003540  4E75                     rts
  5268. label00003542:
  5269. 00003542  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  5270. 00003546  A998                     syscall    UseResFile
  5271. 00003548  594F                     subq.w     A7, 4
  5272. 0000354A  2F3C 4D41 524B           move.l     -[A7], 0x4D41524B /* 'MARK' */
  5273. 00003550  3F3C 0080                move.w     -[A7], 0x80
  5274. 00003554  A81F                     syscall    Get1Resource
  5275. 00003556  205F                     movea.l    A0, [A7]+
  5276. 00003558  2648                     movea.l    A3, A0
  5277. 0000355A  200B                     move.l     D0, A3
  5278. 0000355C  673E                     beq        +0x40 /* 0000359C */
  5279. 0000355E  204B                     movea.l    A0, A3
  5280. 00003560  A04A                     syscall    HNoPurge
  5281. 00003562  594F                     subq.w     A7, 4
  5282. 00003564  2F3C 4D41 524B           move.l     -[A7], 0x4D41524B /* 'MARK' */
  5283. 0000356A  3F3C 0081                move.w     -[A7], 0x81
  5284. 0000356E  A81F                     syscall    Get1Resource
  5285. 00003570  205F                     movea.l    A0, [A7]+
  5286. 00003572  2448                     movea.l    A2, A0
  5287. 00003574  200A                     move.l     D0, A2
  5288. 00003576  6704                     beq        +0x6 /* 0000357C */
  5289. 00003578  204A                     movea.l    A0, A2
  5290. 0000357A  A04A                     syscall    HNoPurge
  5291. label0000357C:
  5292. 0000357C  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  5293. 00003580  2F14                     move.l     -[A7], [A4]
  5294. 00003582  2F0A                     move.l     -[A7], A2
  5295. 00003584  2F0B                     move.l     -[A7], A3
  5296. 00003586  4EBA FE30                jsr        [PC - 0x1D0 /* 000033B8 */]
  5297. 0000358A  3600                     move.w     D3, D0
  5298. 0000358C  204B                     movea.l    A0, A3
  5299. 0000358E  A049                     syscall    HPurge
  5300. 00003590  200A                     move.l     D0, A2
  5301. 00003592  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5302. 00003596  6704                     beq        +0x6 /* 0000359C */
  5303. 00003598  204A                     movea.l    A0, A2
  5304. 0000359A  A049                     syscall    HPurge
  5305. label0000359C:
  5306. 0000359C  3F04                     move.w     -[A7], D4
  5307. 0000359E  A998                     syscall    UseResFile
  5308. 000035A0  3003                     move.w     D0, D3
  5309. 000035A2  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  5310. 000035A6  4E75                     rts
  5311. 000035A8  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5312. 000035AC  4FEF FF5A                lea.l      A7, [A7 - 0xA6]
  5313. 000035B0  2C2F 00D4                move.l     D6, [A7 + 0xD4]
  5314. 000035B4  7800                     moveq.l    D4, 0x00
  5315. 000035B6  554F                     subq.w     A7, 2
  5316. 000035B8  A994                     syscall    CurResFile
  5317. 000035BA  301F                     move.w     D0, [A7]+
  5318. 000035BC  3F40 0004                move.w     [A7 + 0x4], D0
  5319. 000035C0  594F                     subq.w     A7, 4
  5320. 000035C2  2F2F 00D4                move.l     -[A7], [A7 + 0xD4]
  5321. 000035C6  4EAD D9AC                jsr        [A5 - 0x2654]
  5322. 000035CA  201F                     move.l     D0, [A7]+
  5323. 000035CC  7214                     moveq.l    D1, 0x14
  5324. 000035CE  4EAD D8FE                jsr        [A5 - 0x2702]
  5325. 000035D2  2A00                     move.l     D5, D0
  5326. 000035D4  206F 00D0                movea.l    A0, [A7 + 0xD0]
  5327. 000035D8  2450                     movea.l    A2, [A0]
  5328. 000035DA  7600                     moveq.l    D3, 0x00
  5329. 000035DC  6044                     bra        +0x46 /* 00003622 */
  5330. label000035DE:
  5331. 000035DE  4A86                     tst.l      D6
  5332. 000035E0  671E                     beq        +0x20 /* 00003600 */
  5333. 000035E2  486F 001A                pea.l      [A7 + 0x1A]
  5334. 000035E6  486F 0010                pea.l      [A7 + 0x10]
  5335. 000035EA  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  5336. 000035EE  4EAD FF00                jsr        [A5 - 0x100]
  5337. 000035F2  7000                     moveq.l    D0, 0x00
  5338. 000035F4  102F 002A                move.b     D0, [A7 + 0x2A]
  5339. 000035F8  5280                     addq.l     D0, 1
  5340. 000035FA  D880                     add.l      D4, D0
  5341. 000035FC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5342. label00003600:
  5343. 00003600  4A92                     tst.l      [A2]
  5344. 00003602  6604                     bne        +0x6 /* 00003608 */
  5345. 00003604  7001                     moveq.l    D0, 0x01
  5346. 00003606  600E                     bra        +0x10 /* 00003616 */
  5347. label00003608:
  5348. 00003608  2052                     movea.l    A0, [A2]
  5349. 0000360A  2050                     movea.l    A0, [A0]
  5350. 0000360C  70FF                     moveq.l    D0, 0xFFFFFFFF
  5351. label0000360E:
  5352. 0000360E  5280                     addq.l     D0, 1
  5353. 00003610  4A18                     tst.b      [A0]+
  5354. 00003612  66FA                     bne        -0x4 /* 0000360E */
  5355. 00003614  5280                     addq.l     D0, 1
  5356. label00003616:
  5357. 00003616  D880                     add.l      D4, D0
  5358. 00003618  7009                     moveq.l    D0, 0x09
  5359. 0000361A  D880                     add.l      D4, D0
  5360. 0000361C  5283                     addq.l     D3, 1
  5361. 0000361E  7014                     moveq.l    D0, 0x14
  5362. 00003620  D5C0                     add.l      A2, D0
  5363. label00003622:
  5364. 00003622  B685                     cmp.l      D3, D5
  5365. 00003624  6DB8                     blt        -0x46 /* 000035DE */
  5366. 00003626  3F2F 00CE                move.w     -[A7], [A7 + 0xCE]
  5367. 0000362A  A998                     syscall    UseResFile
  5368. 0000362C  594F                     subq.w     A7, 4
  5369. 0000362E  2F3C 4D41 524B           move.l     -[A7], 0x4D41524B /* 'MARK' */
  5370. 00003634  3F3C 0080                move.w     -[A7], 0x80
  5371. 00003638  A81F                     syscall    Get1Resource
  5372. 0000363A  205F                     movea.l    A0, [A7]+
  5373. 0000363C  2F48 0012                move.l     [A7 + 0x12], A0
  5374. 00003640  2008                     move.l     D0, A0
  5375. 00003642  56C0                     sne        D0
  5376. 00003644  4400                     neg.b      D0
  5377. 00003646  4880                     ext.w      D0
  5378. 00003648  48C0                     ext.l      D0
  5379. 0000364A  2E80                     move.l     [A7], D0
  5380. 0000364C  6712                     beq        +0x14 /* 00003660 */
  5381. 0000364E  206F 0012                movea.l    A0, [A7 + 0x12]
  5382. 00003652  A04A                     syscall    HNoPurge
  5383. 00003654  206F 0012                movea.l    A0, [A7 + 0x12]
  5384. 00003658  2004                     move.l     D0, D4
  5385. 0000365A  5480                     addq.l     D0, 2
  5386. 0000365C  A024                     syscall    SetHandleSize
  5387. 0000365E  600A                     bra        +0xC /* 0000366A */
  5388. label00003660:
  5389. 00003660  2004                     move.l     D0, D4
  5390. 00003662  5480                     addq.l     D0, 2
  5391. 00003664  A122                     syscall    NewHandle, flags=1
  5392. 00003666  2F48 0012                move.l     [A7 + 0x12], A0
  5393. label0000366A:
  5394. 0000366A  554F                     subq.w     A7, 2
  5395. 0000366C  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5396. 00003670  301F                     move.w     D0, [A7]+
  5397. 00003672  3600                     move.w     D3, D0
  5398. 00003674  6712                     beq        +0x14 /* 00003688 */
  5399. 00003676  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  5400. 0000367A  A998                     syscall    UseResFile
  5401. 0000367C  3003                     move.w     D0, D3
  5402. 0000367E  4FEF 00A6                lea.l      A7, [A7 + 0xA6]
  5403. 00003682  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5404. 00003686  4E75                     rts
  5405. label00003688:
  5406. 00003688  594F                     subq.w     A7, 4
  5407. 0000368A  2F3C 4D41 524B           move.l     -[A7], 0x4D41524B /* 'MARK' */
  5408. 00003690  3F3C 0081                move.w     -[A7], 0x81
  5409. 00003694  A81F                     syscall    Get1Resource
  5410. 00003696  205F                     movea.l    A0, [A7]+
  5411. 00003698  2E08                     move.l     D7, A0
  5412. 0000369A  4A87                     tst.l      D7
  5413. 0000369C  56C0                     sne        D0
  5414. 0000369E  4400                     neg.b      D0
  5415. 000036A0  4880                     ext.w      D0
  5416. 000036A2  48C0                     ext.l      D0
  5417. 000036A4  2F40 0006                move.l     [A7 + 0x6], D0
  5418. 000036A8  4AAF 0006                tst.l      [A7 + 0x6]
  5419. 000036AC  670E                     beq        +0x10 /* 000036BC */
  5420. 000036AE  2047                     movea.l    A0, D7
  5421. 000036B0  A04A                     syscall    HNoPurge
  5422. 000036B2  2047                     movea.l    A0, D7
  5423. 000036B4  2005                     move.l     D0, D5
  5424. 000036B6  E588                     lsl        D0, 2
  5425. 000036B8  A024                     syscall    SetHandleSize
  5426. 000036BA  6008                     bra        +0xA /* 000036C4 */
  5427. label000036BC:
  5428. 000036BC  2005                     move.l     D0, D5
  5429. 000036BE  E588                     lsl        D0, 2
  5430. 000036C0  A122                     syscall    NewHandle, flags=1
  5431. 000036C2  2E08                     move.l     D7, A0
  5432. label000036C4:
  5433. 000036C4  554F                     subq.w     A7, 2
  5434. 000036C6  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5435. 000036CA  301F                     move.w     D0, [A7]+
  5436. 000036CC  3600                     move.w     D3, D0
  5437. 000036CE  6722                     beq        +0x24 /* 000036F2 */
  5438. 000036D0  4A97                     tst.l      [A7]
  5439. 000036D2  660C                     bne        +0xE /* 000036E0 */
  5440. 000036D4  4AAF 0012                tst.l      [A7 + 0x12]
  5441. 000036D8  6706                     beq        +0x8 /* 000036E0 */
  5442. 000036DA  206F 0012                movea.l    A0, [A7 + 0x12]
  5443. 000036DE  A023                     syscall    DisposHandle/DisposeHandle
  5444. label000036E0:
  5445. 000036E0  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  5446. 000036E4  A998                     syscall    UseResFile
  5447. 000036E6  3003                     move.w     D0, D3
  5448. 000036E8  4FEF 00A6                lea.l      A7, [A7 + 0xA6]
  5449. 000036EC  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5450. 000036F0  4E75                     rts
  5451. label000036F2:
  5452. 000036F2  206F 0012                movea.l    A0, [A7 + 0x12]
  5453. 000036F6  A029                     syscall    HLock
  5454. 000036F8  206F 00D0                movea.l    A0, [A7 + 0xD0]
  5455. 000036FC  A029                     syscall    HLock
  5456. 000036FE  2047                     movea.l    A0, D7
  5457. 00003700  A029                     syscall    HLock
  5458. 00003702  206F 0012                movea.l    A0, [A7 + 0x12]
  5459. 00003706  2650                     movea.l    A3, [A0]
  5460. 00003708  206F 00D0                movea.l    A0, [A7 + 0xD0]
  5461. 0000370C  2450                     movea.l    A2, [A0]
  5462. 0000370E  2047                     movea.l    A0, D7
  5463. 00003710  2F50 000E                move.l     [A7 + 0xE], [A0]
  5464. 00003714  3685                     move.w     [A3], D5
  5465. 00003716  548B                     addq.l     A3, 2
  5466. 00003718  7600                     moveq.l    D3, 0x00
  5467. 0000371A  6000 009E                bra        +0xA0 /* 000037BA */
  5468. label0000371E:
  5469. 0000371E  4A86                     tst.l      D6
  5470. 00003720  672E                     beq        +0x30 /* 00003750 */
  5471. 00003722  486F 0060                pea.l      [A7 + 0x60]
  5472. 00003726  486F 000E                pea.l      [A7 + 0xE]
  5473. 0000372A  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  5474. 0000372E  4EAD FF00                jsr        [A5 - 0x100]
  5475. 00003732  41EF 0070                lea.l      A0, [A7 + 0x70]
  5476. 00003736  224B                     movea.l    A1, A3
  5477. 00003738  7000                     moveq.l    D0, 0x00
  5478. 0000373A  102F 0070                move.b     D0, [A7 + 0x70]
  5479. 0000373E  5280                     addq.l     D0, 1
  5480. 00003740  A02E                     syscall    BlockMove/BlockMoveData
  5481. 00003742  7000                     moveq.l    D0, 0x00
  5482. 00003744  102F 0070                move.b     D0, [A7 + 0x70]
  5483. 00003748  5280                     addq.l     D0, 1
  5484. 0000374A  D7C0                     add.l      A3, D0
  5485. 0000374C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5486. label00003750:
  5487. 00003750  4A92                     tst.l      [A2]
  5488. 00003752  671C                     beq        +0x1E /* 00003770 */
  5489. 00003754  2052                     movea.l    A0, [A2]
  5490. 00003756  2050                     movea.l    A0, [A0]
  5491. 00003758  70FF                     moveq.l    D0, 0xFFFFFFFF
  5492. label0000375A:
  5493. 0000375A  5280                     addq.l     D0, 1
  5494. 0000375C  4A18                     tst.b      [A0]+
  5495. 0000375E  66FA                     bne        -0x4 /* 0000375A */
  5496. 00003760  5280                     addq.l     D0, 1
  5497. 00003762  2800                     move.l     D4, D0
  5498. 00003764  2052                     movea.l    A0, [A2]
  5499. 00003766  2050                     movea.l    A0, [A0]
  5500. 00003768  224B                     movea.l    A1, A3
  5501. 0000376A  A02E                     syscall    BlockMove/BlockMoveData
  5502. 0000376C  D7C4                     add.l      A3, D4
  5503. 0000376E  6002                     bra        +0x4 /* 00003772 */
  5504. label00003770:
  5505. 00003770  421B                     clr.b      [A3]+
  5506. label00003772:
  5507. 00003772  2F6A 0004 0016           move.l     [A7 + 0x16], [A2 + 0x4]
  5508. 00003778  49EF 0016                lea.l      A4, [A7 + 0x16]
  5509. 0000377C  2C4B                     movea.l    A6, A3
  5510. 0000377E  1CDC                     move.b     [A6]+, [A4]+
  5511. 00003780  1CDC                     move.b     [A6]+, [A4]+
  5512. 00003782  1CDC                     move.b     [A6]+, [A4]+
  5513. 00003784  1C94                     move.b     [A6], [A4]
  5514. 00003786  588B                     addq.l     A3, 4
  5515. 00003788  284A                     movea.l    A4, A2
  5516. 0000378A  508C                     addq.l     A4, 8
  5517. 0000378C  588C                     addq.l     A4, 4
  5518. 0000378E  2C4B                     movea.l    A6, A3
  5519. 00003790  1CDC                     move.b     [A6]+, [A4]+
  5520. 00003792  1C94                     move.b     [A6], [A4]
  5521. 00003794  548B                     addq.l     A3, 2
  5522. 00003796  284A                     movea.l    A4, A2
  5523. 00003798  508C                     addq.l     A4, 8
  5524. 0000379A  5C8C                     addq.l     A4, 6
  5525. 0000379C  2C4B                     movea.l    A6, A3
  5526. 0000379E  1CDC                     move.b     [A6]+, [A4]+
  5527. 000037A0  1C94                     move.b     [A6], [A4]
  5528. 000037A2  548B                     addq.l     A3, 2
  5529. 000037A4  16EA 0012                move.b     [A3]+, [A2 + 0x12]
  5530. 000037A8  206F 000E                movea.l    A0, [A7 + 0xE]
  5531. 000037AC  58AF 000E                addq.l     [A7 + 0xE], 4
  5532. 000037B0  20AA 0008                move.l     [A0], [A2 + 0x8]
  5533. 000037B4  5283                     addq.l     D3, 1
  5534. 000037B6  7014                     moveq.l    D0, 0x14
  5535. 000037B8  D5C0                     add.l      A2, D0
  5536. label000037BA:
  5537. 000037BA  B685                     cmp.l      D3, D5
  5538. 000037BC  6D00 FF60                blt        -0x9E /* 0000371E */
  5539. 000037C0  2047                     movea.l    A0, D7
  5540. 000037C2  A02A                     syscall    HUnlock
  5541. 000037C4  206F 00D0                movea.l    A0, [A7 + 0xD0]
  5542. 000037C8  A02A                     syscall    HUnlock
  5543. 000037CA  206F 0012                movea.l    A0, [A7 + 0x12]
  5544. 000037CE  A02A                     syscall    HUnlock
  5545. 000037D0  4A97                     tst.l      [A7]
  5546. 000037D2  6716                     beq        +0x18 /* 000037EA */
  5547. 000037D4  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  5548. 000037D8  A9AA                     syscall    ChangedResource
  5549. 000037DA  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  5550. 000037DE  A9B0                     syscall    WriteResource
  5551. 000037E0  554F                     subq.w     A7, 2
  5552. 000037E2  A9AF                     syscall    ResError
  5553. 000037E4  301F                     move.w     D0, [A7]+
  5554. 000037E6  3600                     move.w     D3, D0
  5555. 000037E8  6018                     bra        +0x1A /* 00003802 */
  5556. label000037EA:
  5557. 000037EA  3F3C 0080                move.w     -[A7], 0x80
  5558. 000037EE  2F3C 4D41 524B           move.l     -[A7], 0x4D41524B /* 'MARK' */
  5559. 000037F4  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  5560. 000037F8  4EBA 1040                jsr        [PC + 0x1040 /* 0000483A */]
  5561. 000037FC  3600                     move.w     D3, D0
  5562. 000037FE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5563. label00003802:
  5564. 00003802  4A43                     tst.w      D3
  5565. 00003804  6630                     bne        +0x32 /* 00003836 */
  5566. 00003806  4AAF 0006                tst.l      [A7 + 0x6]
  5567. 0000380A  6712                     beq        +0x14 /* 0000381E */
  5568. 0000380C  2F07                     move.l     -[A7], D7
  5569. 0000380E  A9AA                     syscall    ChangedResource
  5570. 00003810  2F07                     move.l     -[A7], D7
  5571. 00003812  A9B0                     syscall    WriteResource
  5572. 00003814  554F                     subq.w     A7, 2
  5573. 00003816  A9AF                     syscall    ResError
  5574. 00003818  301F                     move.w     D0, [A7]+
  5575. 0000381A  3600                     move.w     D3, D0
  5576. 0000381C  6026                     bra        +0x28 /* 00003844 */
  5577. label0000381E:
  5578. 0000381E  3F3C 0081                move.w     -[A7], 0x81
  5579. 00003822  2F3C 4D41 524B           move.l     -[A7], 0x4D41524B /* 'MARK' */
  5580. 00003828  2F07                     move.l     -[A7], D7
  5581. 0000382A  4EBA 100E                jsr        [PC + 0x100E /* 0000483A */]
  5582. 0000382E  3600                     move.w     D3, D0
  5583. 00003830  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5584. 00003834  600E                     bra        +0x10 /* 00003844 */
  5585. label00003836:
  5586. 00003836  4AAF 0006                tst.l      [A7 + 0x6]
  5587. 0000383A  6608                     bne        +0xA /* 00003844 */
  5588. 0000383C  4A87                     tst.l      D7
  5589. 0000383E  6704                     beq        +0x6 /* 00003844 */
  5590. 00003840  2047                     movea.l    A0, D7
  5591. 00003842  A023                     syscall    DisposHandle/DisposeHandle
  5592. label00003844:
  5593. 00003844  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  5594. 00003848  A998                     syscall    UseResFile
  5595. 0000384A  3003                     move.w     D0, D3
  5596. 0000384C  4FEF 00A6                lea.l      A7, [A7 + 0xA6]
  5597. 00003850  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5598. 00003854  4E75                     rts
  5599. 00003856  4878 0001                push.l     0x1
  5600. 0000385A  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5601. 0000385E  202F 000E                move.l     D0, [A7 + 0xE]
  5602. 00003862  5280                     addq.l     D0, 1
  5603. 00003864  3F00                     move.w     -[A7], D0
  5604. 00003866  2F3C 4E4F 5445           move.l     -[A7], 0x4E4F5445 /* 'NOTE' */
  5605. 0000386C  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  5606. 00003870  4EBA 10A8                jsr        [PC + 0x10A8 /* 0000491A */]
  5607. 00003874  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5608. 00003878  4E75                     rts
  5609. 0000387A  202F 0006                move.l     D0, [A7 + 0x6]
  5610. 0000387E  5280                     addq.l     D0, 1
  5611. 00003880  3F00                     move.w     -[A7], D0
  5612. 00003882  2F3C 4E4F 5445           move.l     -[A7], 0x4E4F5445 /* 'NOTE' */
  5613. 00003888  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5614. 0000388C  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  5615. 00003890  4EBA 0FF6                jsr        [PC + 0xFF6 /* 00004888 */]
  5616. 00003894  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5617. 00003898  4E75                     rts
  5618. 0000389A  48E7 1020                movem.l    -[A7], D3,A2
  5619. 0000389E  246F 000E                movea.l    A2, [A7 + 0xE]
  5620. 000038A2  4878 0001                push.l     0x1
  5621. 000038A6  2F0A                     move.l     -[A7], A2
  5622. 000038A8  3F3C 0080                move.w     -[A7], 0x80
  5623. 000038AC  2F3C 5052 4543           move.l     -[A7], 0x50524543 /* 'PREC' */
  5624. 000038B2  3F2F 001A                move.w     -[A7], [A7 + 0x1A]
  5625. 000038B6  4EBA 1062                jsr        [PC + 0x1062 /* 0000491A */]
  5626. 000038BA  3600                     move.w     D3, D0
  5627. 000038BC  4A92                     tst.l      [A2]
  5628. 000038BE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5629. 000038C2  6610                     bne        +0x12 /* 000038D4 */
  5630. 000038C4  7078                     moveq.l    D0, 0x78
  5631. 000038C6  A322                     syscall    NewHandleClear, flags=3
  5632. 000038C8  2488                     move.l     [A2], A0
  5633. 000038CA  554F                     subq.w     A7, 2
  5634. 000038CC  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5635. 000038D0  301F                     move.w     D0, [A7]+
  5636. 000038D2  3600                     move.w     D3, D0
  5637. label000038D4:
  5638. 000038D4  3003                     move.w     D0, D3
  5639. 000038D6  4CDF 0408                movem.l    D3,A2, [A7]+
  5640. 000038DA  4E75                     rts
  5641. 000038DC  3F3C 0080                move.w     -[A7], 0x80
  5642. 000038E0  2F3C 5052 4543           move.l     -[A7], 0x50524543 /* 'PREC' */
  5643. 000038E6  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  5644. 000038EA  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  5645. 000038EE  4EBA 0F98                jsr        [PC + 0xF98 /* 00004888 */]
  5646. 000038F2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5647. 000038F6  4E75                     rts
  5648. 000038F8  594F                     subq.w     A7, 4
  5649. 000038FA  4EAD DB08                jsr        [A5 - 0x24F8]
  5650. 000038FE  3F40 0002                move.w     [A7 + 0x2], D0
  5651. 00003902  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  5652. 00003906  4EAD DB0E                jsr        [A5 - 0x24F2]
  5653. 0000390A  202F 000C                move.l     D0, [A7 + 0xC]
  5654. 0000390E  5280                     addq.l     D0, 1
  5655. 00003910  2F00                     move.l     -[A7], D0
  5656. 00003912  4878 0020                push.l     0x20 /* ' ' */
  5657. 00003916  4EAD DC58                jsr        [A5 - 0x23A8]
  5658. 0000391A  226F 0018                movea.l    A1, [A7 + 0x18]
  5659. 0000391E  2288                     move.l     [A1], A0
  5660. 00003920  4EAD DB02                jsr        [A5 - 0x24FE]
  5661. 00003924  3F40 000A                move.w     [A7 + 0xA], D0
  5662. 00003928  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  5663. 0000392C  4EAD DB0E                jsr        [A5 - 0x24F2]
  5664. 00003930  302F 000C                move.w     D0, [A7 + 0xC]
  5665. 00003934  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5666. 00003938  4E75                     rts
  5667. 0000393A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5668. 0000393E  4FEF FFE6                lea.l      A7, [A7 - 0x1A]
  5669. 00003942  262F 0044                move.l     D3, [A7 + 0x44]
  5670. 00003946  42AF 000A                clr.l      [A7 + 0xA]
  5671. 0000394A  42AF 0002                clr.l      [A7 + 0x2]
  5672. 0000394E  42AF 0006                clr.l      [A7 + 0x6]
  5673. 00003952  7800                     moveq.l    D4, 0x00
  5674. 00003954  426F 000E                clr.w      [A7 + 0xE]
  5675. 00003958  4EAD DB08                jsr        [A5 - 0x24F8]
  5676. 0000395C  3E80                     move.w     [A7], D0
  5677. 0000395E  3F2F 0042                move.w     -[A7], [A7 + 0x42]
  5678. 00003962  4EAD DB0E                jsr        [A5 - 0x24F2]
  5679. 00003966  7E00                     moveq.l    D7, 0x00
  5680. 00003968  1F7C 000D 0013           move.b     [A7 + 0x13], 0xD /* '\r' */
  5681. 0000396E  1F7C 0009 0012           move.b     [A7 + 0x12], 0x9 /* '\t' */
  5682. 00003974  2003                     move.l     D0, D3
  5683. 00003976  5280                     addq.l     D0, 1
  5684. 00003978  2F00                     move.l     -[A7], D0
  5685. 0000397A  4878 0020                push.l     0x20 /* ' ' */
  5686. 0000397E  4EAD DC58                jsr        [A5 - 0x23A8]
  5687. 00003982  2F48 0014                move.l     [A7 + 0x14], A0
  5688. 00003986  4EAD DB02                jsr        [A5 - 0x24FE]
  5689. 0000398A  3F40 0018                move.w     [A7 + 0x18], D0
  5690. 0000398E  4A40                     tst.w      D0
  5691. 00003990  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5692. 00003994  6600 010E                bne        +0x110 /* 00003AA4 */
  5693. 00003998  206F 000A                movea.l    A0, [A7 + 0xA]
  5694. 0000399C  A04A                     syscall    HNoPurge
  5695. 0000399E  594F                     subq.w     A7, 4
  5696. 000039A0  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5697. 000039A4  4EAD D9AC                jsr        [A5 - 0x2654]
  5698. 000039A8  201F                     move.l     D0, [A7]+
  5699. 000039AA  2C00                     move.l     D6, D0
  5700. 000039AC  2006                     move.l     D0, D6
  5701. 000039AE  A122                     syscall    NewHandle, flags=1
  5702. 000039B0  2F48 0002                move.l     [A7 + 0x2], A0
  5703. 000039B4  554F                     subq.w     A7, 2
  5704. 000039B6  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5705. 000039BA  301F                     move.w     D0, [A7]+
  5706. 000039BC  3F40 000E                move.w     [A7 + 0xE], D0
  5707. 000039C0  4A40                     tst.w      D0
  5708. 000039C2  6600 00E0                bne        +0xE2 /* 00003AA4 */
  5709. 000039C6  2003                     move.l     D0, D3
  5710. 000039C8  5280                     addq.l     D0, 1
  5711. 000039CA  2F00                     move.l     -[A7], D0
  5712. 000039CC  4878 002D                push.l     0x2D /* '-' */
  5713. 000039D0  4EAD DC58                jsr        [A5 - 0x23A8]
  5714. 000039D4  2F48 000E                move.l     [A7 + 0xE], A0
  5715. 000039D8  4EAD DB02                jsr        [A5 - 0x24FE]
  5716. 000039DC  3F40 0016                move.w     [A7 + 0x16], D0
  5717. 000039E0  4A40                     tst.w      D0
  5718. 000039E2  504F                     addq.w     A7, 8
  5719. 000039E4  6600 00BE                bne        +0xC0 /* 00003AA4 */
  5720. 000039E8  206F 0006                movea.l    A0, [A7 + 0x6]
  5721. 000039EC  A04A                     syscall    HNoPurge
  5722. 000039EE  594F                     subq.w     A7, 4
  5723. 000039F0  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  5724. 000039F4  4EAD D9AC                jsr        [A5 - 0x2654]
  5725. 000039F8  201F                     move.l     D0, [A7]+
  5726. 000039FA  7216                     moveq.l    D1, 0x16
  5727. 000039FC  4EAD D8FE                jsr        [A5 - 0x2702]
  5728. 00003A00  2F40 0012                move.l     [A7 + 0x12], D0
  5729. 00003A04  206F 0006                movea.l    A0, [A7 + 0x6]
  5730. 00003A08  2850                     movea.l    A4, [A0]
  5731. 00003A0A  206F 0002                movea.l    A0, [A7 + 0x2]
  5732. 00003A0E  2650                     movea.l    A3, [A0]
  5733. 00003A10  206F 000A                movea.l    A0, [A7 + 0xA]
  5734. 00003A14  2F50 0016                move.l     [A7 + 0x16], [A0]
  5735. 00003A18  9DCE                     sub.l      A6, A6
  5736. 00003A1A  6000 0080                bra        +0x82 /* 00003A9C */
  5737. label00003A1E:
  5738. 00003A1E  95CA                     sub.l      A2, A2
  5739. 00003A20  3014                     move.w     D0, [A4]
  5740. 00003A22  48C0                     ext.l      D0
  5741. 00003A24  0C80 0000 000D           cmpi.l     D0, 0xD /* '\r' */
  5742. 00003A2A  624C                     bhi        +0x4E /* 00003A78 */
  5743. 00003A2C  D040                     add.w      D0, D0
  5744. 00003A2E  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  5745. 00003A32  4EFB 0002                jmp        [PC + D0.w + 0x2]
  5746. 00003A36  001C 001C                ori.b      [A4]+, 0x1C
  5747. 00003A3A  001C 001C                ori.b      [A4]+, 0x1C
  5748. 00003A3E  001C 002C                ori.b      [A4]+, 0x2C /* ',' */
  5749. 00003A42  003C 0042                ori.b      ccr, 66
  5750. 00003A46  0042 0042                ori.w      D2, 0x42 /* 'B' */
  5751. 00003A4A  0042 0042                ori.w      D2, 0x42 /* 'B' */
  5752. 00003A4E  0034 002A 246F           ori.b      [A4 + D2.w * 4 + 0x6F], 0x2A /* '*' */
  5753. 00003A54  0016 D5EC                ori.b      [A6], 0xEC
  5754. 00003A58  0006 2A2C                ori.b      D6, 0x2C /* ',' */
  5755. 00003A5C  000A 6018                ori.b      A2, 0x18
  5756. 00003A60  7E00                     moveq.l    D7, 0x00
  5757. 00003A62  45EF 0011                lea.l      A2, [A7 + 0x11]
  5758. 00003A66  7A01                     moveq.l    D5, 0x01
  5759. 00003A68  600E                     bra        +0x10 /* 00003A78 */
  5760. 00003A6A  4A87                     tst.l      D7
  5761. 00003A6C  6604                     bne        +0x6 /* 00003A72 */
  5762. 00003A6E  7E01                     moveq.l    D7, 0x01
  5763. 00003A70  6006                     bra        +0x8 /* 00003A78 */
  5764. label00003A72:
  5765. 00003A72  45EF 0010                lea.l      A2, [A7 + 0x10]
  5766. 00003A76  7A01                     moveq.l    D5, 0x01
  5767. label00003A78:
  5768. 00003A78  200A                     move.l     D0, A2
  5769. 00003A7A  671A                     beq        +0x1C /* 00003A96 */
  5770. 00003A7C  600C                     bra        +0xE /* 00003A8A */
  5771. label00003A7E:
  5772. 00003A7E  161A                     move.b     D3, [A2]+
  5773. 00003A80  0C03 0001                cmpi.b     D3, 0x1
  5774. 00003A84  6704                     beq        +0x6 /* 00003A8A */
  5775. 00003A86  16C3                     move.b     [A3]+, D3
  5776. 00003A88  5284                     addq.l     D4, 1
  5777. label00003A8A:
  5778. 00003A8A  2005                     move.l     D0, D5
  5779. 00003A8C  5385                     subq.l     D5, 1
  5780. 00003A8E  4A80                     tst.l      D0
  5781. 00003A90  6704                     beq        +0x6 /* 00003A96 */
  5782. 00003A92  B886                     cmp.l      D4, D6
  5783. 00003A94  6FE8                     ble        -0x16 /* 00003A7E */
  5784. label00003A96:
  5785. 00003A96  528E                     addq.l     A6, 1
  5786. 00003A98  7016                     moveq.l    D0, 0x16
  5787. 00003A9A  D9C0                     add.l      A4, D0
  5788. label00003A9C:
  5789. 00003A9C  BDEF 0012                cmpa.l     A6, [A7 + 0x12]
  5790. 00003AA0  6D00 FF7C                blt        -0x82 /* 00003A1E */
  5791. label00003AA4:
  5792. 00003AA4  3F17                     move.w     -[A7], [A7]
  5793. 00003AA6  4EAD DB0E                jsr        [A5 - 0x24F2]
  5794. 00003AAA  4AAF 000C                tst.l      [A7 + 0xC]
  5795. 00003AAE  544F                     addq.w     A7, 2
  5796. 00003AB0  6706                     beq        +0x8 /* 00003AB8 */
  5797. 00003AB2  206F 000A                movea.l    A0, [A7 + 0xA]
  5798. 00003AB6  A049                     syscall    HPurge
  5799. label00003AB8:
  5800. 00003AB8  4AAF 0006                tst.l      [A7 + 0x6]
  5801. 00003ABC  6706                     beq        +0x8 /* 00003AC4 */
  5802. 00003ABE  206F 0006                movea.l    A0, [A7 + 0x6]
  5803. 00003AC2  A049                     syscall    HPurge
  5804. label00003AC4:
  5805. 00003AC4  4A6F 000E                tst.w      [A7 + 0xE]
  5806. 00003AC8  6612                     bne        +0x14 /* 00003ADC */
  5807. 00003ACA  206F 0002                movea.l    A0, [A7 + 0x2]
  5808. 00003ACE  2004                     move.l     D0, D4
  5809. 00003AD0  A024                     syscall    SetHandleSize
  5810. 00003AD2  206F 0048                movea.l    A0, [A7 + 0x48]
  5811. 00003AD6  20AF 0002                move.l     [A0], [A7 + 0x2]
  5812. 00003ADA  600C                     bra        +0xE /* 00003AE8 */
  5813. label00003ADC:
  5814. 00003ADC  4AAF 0002                tst.l      [A7 + 0x2]
  5815. 00003AE0  6706                     beq        +0x8 /* 00003AE8 */
  5816. 00003AE2  206F 0002                movea.l    A0, [A7 + 0x2]
  5817. 00003AE6  A023                     syscall    DisposHandle/DisposeHandle
  5818. label00003AE8:
  5819. 00003AE8  302F 000E                move.w     D0, [A7 + 0xE]
  5820. 00003AEC  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  5821. 00003AF0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5822. 00003AF4  4E75                     rts
  5823. fn00003AF6:
  5824. 00003AF6  48E7 1820                movem.l    -[A7], D3,D4,A2
  5825. 00003AFA  514F                     subq.w     A7, 8
  5826. 00003AFC  246F 0018                movea.l    A2, [A7 + 0x18]
  5827. 00003B00  3F3C 0001                move.w     -[A7], 0x1
  5828. 00003B04  486D 1584                pea.l      [A5 + 0x1584]
  5829. 00003B08  486F 0006                pea.l      [A7 + 0x6]
  5830. 00003B0C  4EAD DD18                jsr        [A5 - 0x22E8]
  5831. 00003B10  302F 000C                move.w     D0, [A7 + 0xC]
  5832. 00003B14  48C0                     ext.l      D0
  5833. 00003B16  362F 0010                move.w     D3, [A7 + 0x10]
  5834. 00003B1A  48C3                     ext.l      D3
  5835. 00003B1C  9680                     sub.l      D3, D0
  5836. 00003B1E  302F 000A                move.w     D0, [A7 + 0xA]
  5837. 00003B22  48C0                     ext.l      D0
  5838. 00003B24  382F 000E                move.w     D4, [A7 + 0xE]
  5839. 00003B28  48C4                     ext.l      D4
  5840. 00003B2A  9880                     sub.l      D4, D0
  5841. 00003B2C  306A 0002                movea.w    A0, [A2 + 0x2]
  5842. 00003B30  3003                     move.w     D0, D3
  5843. 00003B32  48C0                     ext.l      D0
  5844. 00003B34  2208                     move.l     D1, A0
  5845. 00003B36  4EAD D8F8                jsr        [A5 - 0x2708]
  5846. 00003B3A  2200                     move.l     D1, D0
  5847. 00003B3C  E081                     asr        D1, 8
  5848. 00003B3E  E281                     asr        D1, 1
  5849. 00003B40  E089                     lsr        D1, 8
  5850. 00003B42  E089                     lsr        D1, 8
  5851. 00003B44  EC89                     lsr        D1, 6
  5852. 00003B46  D280                     add.l      D1, D0
  5853. 00003B48  E081                     asr        D1, 8
  5854. 00003B4A  E481                     asr        D1, 2
  5855. 00003B4C  3541 0002                move.w     [A2 + 0x2], D1
  5856. 00003B50  306A 0006                movea.w    A0, [A2 + 0x6]
  5857. 00003B54  3003                     move.w     D0, D3
  5858. 00003B56  48C0                     ext.l      D0
  5859. 00003B58  2208                     move.l     D1, A0
  5860. 00003B5A  4EAD D8F8                jsr        [A5 - 0x2708]
  5861. 00003B5E  2200                     move.l     D1, D0
  5862. 00003B60  E081                     asr        D1, 8
  5863. 00003B62  E281                     asr        D1, 1
  5864. 00003B64  E089                     lsr        D1, 8
  5865. 00003B66  E089                     lsr        D1, 8
  5866. 00003B68  EC89                     lsr        D1, 6
  5867. 00003B6A  D280                     add.l      D1, D0
  5868. 00003B6C  E081                     asr        D1, 8
  5869. 00003B6E  E481                     asr        D1, 2
  5870. 00003B70  3541 0006                move.w     [A2 + 0x6], D1
  5871. 00003B74  3052                     movea.w    A0, [A2]
  5872. 00003B76  3004                     move.w     D0, D4
  5873. 00003B78  48C0                     ext.l      D0
  5874. 00003B7A  2208                     move.l     D1, A0
  5875. 00003B7C  4EAD D8F8                jsr        [A5 - 0x2708]
  5876. 00003B80  2200                     move.l     D1, D0
  5877. 00003B82  E081                     asr        D1, 8
  5878. 00003B84  E281                     asr        D1, 1
  5879. 00003B86  E089                     lsr        D1, 8
  5880. 00003B88  E089                     lsr        D1, 8
  5881. 00003B8A  EC89                     lsr        D1, 6
  5882. 00003B8C  D280                     add.l      D1, D0
  5883. 00003B8E  E081                     asr        D1, 8
  5884. 00003B90  E481                     asr        D1, 2
  5885. 00003B92  3481                     move.w     [A2], D1
  5886. 00003B94  306A 0004                movea.w    A0, [A2 + 0x4]
  5887. 00003B98  3004                     move.w     D0, D4
  5888. 00003B9A  48C0                     ext.l      D0
  5889. 00003B9C  2208                     move.l     D1, A0
  5890. 00003B9E  4EAD D8F8                jsr        [A5 - 0x2708]
  5891. 00003BA2  2200                     move.l     D1, D0
  5892. 00003BA4  E081                     asr        D1, 8
  5893. 00003BA6  E281                     asr        D1, 1
  5894. 00003BA8  E089                     lsr        D1, 8
  5895. 00003BAA  E089                     lsr        D1, 8
  5896. 00003BAC  EC89                     lsr        D1, 6
  5897. 00003BAE  D280                     add.l      D1, D0
  5898. 00003BB0  E081                     asr        D1, 8
  5899. 00003BB2  E481                     asr        D1, 2
  5900. 00003BB4  3541 0004                move.w     [A2 + 0x4], D1
  5901. 00003BB8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5902. 00003BBC  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  5903. 00003BC0  4E75                     rts
  5904. fn00003BC2:
  5905. 00003BC2  4267                     clr.w      -[A7]
  5906. 00003BC4  42A7                     clr.l      -[A7]
  5907. 00003BC6  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5908. 00003BCA  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5909. 00003BCE  4EBA 0E1C                jsr        [PC + 0xE1C /* 000049EC */]
  5910. 00003BD2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5911. 00003BD6  4E75                     rts
  5912. fn00003BD8:
  5913. 00003BD8  4267                     clr.w      -[A7]
  5914. 00003BDA  42A7                     clr.l      -[A7]
  5915. 00003BDC  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5916. 00003BE0  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5917. 00003BE4  4EBA 0F2A                jsr        [PC + 0xF2A /* 00004B10 */]
  5918. 00003BE8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5919. 00003BEC  4E75                     rts
  5920. fn00003BEE:
  5921. 00003BEE  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5922. 00003BF2  262F 001E                move.l     D3, [A7 + 0x1E]
  5923. 00003BF6  286F 0022                movea.l    A4, [A7 + 0x22]
  5924. 00003BFA  266F 0026                movea.l    A3, [A7 + 0x26]
  5925. 00003BFE  4A83                     tst.l      D3
  5926. 00003C00  6C0A                     bge        +0xC /* 00003C0C */
  5927. 00003C02  2883                     move.l     [A4], D3
  5928. 00003C04  4293                     clr.l      [A3]
  5929. 00003C06  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5930. 00003C0A  4E75                     rts
  5931. label00003C0C:
  5932. 00003C0C  4EAD DB08                jsr        [A5 - 0x24F8]
  5933. 00003C10  3800                     move.w     D4, D0
  5934. 00003C12  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  5935. 00003C16  4EAD DB0E                jsr        [A5 - 0x24F2]
  5936. 00003C1A  2F03                     move.l     -[A7], D3
  5937. 00003C1C  4878 0008                push.l     0x8
  5938. 00003C20  4EAD DB26                jsr        [A5 - 0x24DA]
  5939. 00003C24  2C48                     movea.l    A6, A0
  5940. 00003C26  2008                     move.l     D0, A0
  5941. 00003C28  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5942. 00003C2C  670A                     beq        +0xC /* 00003C38 */
  5943. 00003C2E  2456                     movea.l    A2, [A6]
  5944. 00003C30  2892                     move.l     [A4], [A2]
  5945. 00003C32  26AA 0004                move.l     [A3], [A2 + 0x4]
  5946. 00003C36  6004                     bra        +0x6 /* 00003C3C */
  5947. label00003C38:
  5948. 00003C38  4293                     clr.l      [A3]
  5949. 00003C3A  4294                     clr.l      [A4]
  5950. label00003C3C:
  5951. 00003C3C  3F04                     move.w     -[A7], D4
  5952. 00003C3E  4EAD DB0E                jsr        [A5 - 0x24F2]
  5953. 00003C42  544F                     addq.w     A7, 2
  5954. 00003C44  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5955. 00003C48  4E75                     rts
  5956. 00003C4A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5957. 00003C4E  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  5958. 00003C52  3E2F 0038                move.w     D7, [A7 + 0x38]
  5959. 00003C56  282F 003A                move.l     D4, [A7 + 0x3A]
  5960. 00003C5A  2C6F 003E                movea.l    A6, [A7 + 0x3E]
  5961. 00003C5E  286F 0042                movea.l    A4, [A7 + 0x42]
  5962. 00003C62  4EAD DB08                jsr        [A5 - 0x24F8]
  5963. 00003C66  3600                     move.w     D3, D0
  5964. 00003C68  70FF                     moveq.l    D0, 0xFFFFFFFF
  5965. 00003C6A  2C80                     move.l     [A6], D0
  5966. 00003C6C  4294                     clr.l      [A4]
  5967. 00003C6E  3F07                     move.w     -[A7], D7
  5968. 00003C70  4EAD DB0E                jsr        [A5 - 0x24F2]
  5969. 00003C74  4878 0001                push.l     0x1
  5970. 00003C78  4878 0032                push.l     0x32 /* '2' */
  5971. 00003C7C  4EAD DC58                jsr        [A5 - 0x23A8]
  5972. 00003C80  2448                     movea.l    A2, A0
  5973. 00003C82  2008                     move.l     D0, A0
  5974. 00003C84  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5975. 00003C88  6700 00A0                beq        +0xA2 /* 00003D2A */
  5976. 00003C8C  594F                     subq.w     A7, 4
  5977. 00003C8E  2F0A                     move.l     -[A7], A2
  5978. 00003C90  4EAD D9AC                jsr        [A5 - 0x2654]
  5979. 00003C94  201F                     move.l     D0, [A7]+
  5980. 00003C96  2A00                     move.l     D5, D0
  5981. 00003C98  2005                     move.l     D0, D5
  5982. 00003C9A  720A                     moveq.l    D1, 0x0A
  5983. 00003C9C  4EAD D90A                jsr        [A5 - 0x26F6]
  5984. 00003CA0  4A80                     tst.l      D0
  5985. 00003CA2  57C0                     seq        D0
  5986. 00003CA4  4400                     neg.b      D0
  5987. 00003CA6  4880                     ext.w      D0
  5988. 00003CA8  48C0                     ext.l      D0
  5989. 00003CAA  2C00                     move.l     D6, D0
  5990. 00003CAC  204A                     movea.l    A0, A2
  5991. 00003CAE  A029                     syscall    HLock
  5992. 00003CB0  4A86                     tst.l      D6
  5993. 00003CB2  6730                     beq        +0x32 /* 00003CE4 */
  5994. 00003CB4  2F44 000C                move.l     [A7 + 0xC], D4
  5995. 00003CB8  486D E308                pea.l      [A5 - 0x1CF8]
  5996. 00003CBC  4878 000A                push.l     0xA /* '\n' */
  5997. 00003CC0  594F                     subq.w     A7, 4
  5998. 00003CC2  2F0A                     move.l     -[A7], A2
  5999. 00003CC4  4EAD D9AC                jsr        [A5 - 0x2654]
  6000. 00003CC8  201F                     move.l     D0, [A7]+
  6001. 00003CCA  720A                     moveq.l    D1, 0x0A
  6002. 00003CCC  4EAD D8FE                jsr        [A5 - 0x2702]
  6003. 00003CD0  2F00                     move.l     -[A7], D0
  6004. 00003CD2  2F12                     move.l     -[A7], [A2]
  6005. 00003CD4  486F 0016                pea.l      [A7 + 0x16]
  6006. 00003CD8  4EAD D928                jsr        [A5 - 0x26D8]
  6007. 00003CDC  2648                     movea.l    A3, A0
  6008. 00003CDE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6009. 00003CE2  602E                     bra        +0x30 /* 00003D12 */
  6010. label00003CE4:
  6011. 00003CE4  3F44 0004                move.w     [A7 + 0x4], D4
  6012. 00003CE8  486D E300                pea.l      [A5 - 0x1D00]
  6013. 00003CEC  4878 0006                push.l     0x6
  6014. 00003CF0  594F                     subq.w     A7, 4
  6015. 00003CF2  2F0A                     move.l     -[A7], A2
  6016. 00003CF4  4EAD D9AC                jsr        [A5 - 0x2654]
  6017. 00003CF8  201F                     move.l     D0, [A7]+
  6018. 00003CFA  7206                     moveq.l    D1, 0x06
  6019. 00003CFC  4EAD D8FE                jsr        [A5 - 0x2702]
  6020. 00003D00  2F00                     move.l     -[A7], D0
  6021. 00003D02  2F12                     move.l     -[A7], [A2]
  6022. 00003D04  486F 0010                pea.l      [A7 + 0x10]
  6023. 00003D08  4EAD D928                jsr        [A5 - 0x26D8]
  6024. 00003D0C  2648                     movea.l    A3, A0
  6025. 00003D0E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6026. label00003D12:
  6027. 00003D12  200B                     move.l     D0, A3
  6028. 00003D14  6710                     beq        +0x12 /* 00003D26 */
  6029. 00003D16  2F0C                     move.l     -[A7], A4
  6030. 00003D18  2F0E                     move.l     -[A7], A6
  6031. 00003D1A  2F13                     move.l     -[A7], [A3]
  6032. 00003D1C  3F07                     move.w     -[A7], D7
  6033. 00003D1E  4EBA FECE                jsr        [PC - 0x132 /* 00003BEE */]
  6034. 00003D22  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6035. label00003D26:
  6036. 00003D26  204A                     movea.l    A0, A2
  6037. 00003D28  A02A                     syscall    HUnlock
  6038. label00003D2A:
  6039. 00003D2A  3F03                     move.w     -[A7], D3
  6040. 00003D2C  4EAD DB0E                jsr        [A5 - 0x24F2]
  6041. 00003D30  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6042. 00003D34  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6043. 00003D38  4E75                     rts
  6044. 00003D3A  5D4F                     subq.w     A7, 6
  6045. 00003D3C  4EAD DB08                jsr        [A5 - 0x24F8]
  6046. 00003D40  3F40 0004                move.w     [A7 + 0x4], D0
  6047. 00003D44  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6048. 00003D48  4EAD DB0E                jsr        [A5 - 0x24F2]
  6049. 00003D4C  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6050. 00003D50  4878 0026                push.l     0x26 /* '&' */
  6051. 00003D54  4EAD DC58                jsr        [A5 - 0x23A8]
  6052. 00003D58  2F48 000A                move.l     [A7 + 0xA], A0
  6053. 00003D5C  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  6054. 00003D60  4EAD DB0E                jsr        [A5 - 0x24F2]
  6055. 00003D64  206F 000C                movea.l    A0, [A7 + 0xC]
  6056. 00003D68  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6057. 00003D6C  4E75                     rts
  6058. 00003D6E  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  6059. 00003D72  282F 0018                move.l     D4, [A7 + 0x18]
  6060. 00003D76  246F 001C                movea.l    A2, [A7 + 0x1C]
  6061. 00003D7A  4EAD DB08                jsr        [A5 - 0x24F8]
  6062. 00003D7E  3600                     move.w     D3, D0
  6063. 00003D80  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  6064. 00003D84  4EAD DB0E                jsr        [A5 - 0x24F2]
  6065. 00003D88  7000                     moveq.l    D0, 0x00
  6066. 00003D8A  102F 0018                move.b     D0, [A7 + 0x18]
  6067. 00003D8E  544F                     addq.w     A7, 2
  6068. 00003D90  4A80                     tst.l      D0
  6069. 00003D92  670A                     beq        +0xC /* 00003D9E */
  6070. 00003D94  5380                     subq.l     D0, 1
  6071. 00003D96  6716                     beq        +0x18 /* 00003DAE */
  6072. 00003D98  5380                     subq.l     D0, 1
  6073. 00003D9A  6726                     beq        +0x28 /* 00003DC2 */
  6074. 00003D9C  6034                     bra        +0x36 /* 00003DD2 */
  6075. label00003D9E:
  6076. 00003D9E  2F04                     move.l     -[A7], D4
  6077. 00003DA0  4878 003D                push.l     0x3D /* '=' */
  6078. 00003DA4  4EAD DC58                jsr        [A5 - 0x23A8]
  6079. 00003DA8  2648                     movea.l    A3, A0
  6080. 00003DAA  504F                     addq.w     A7, 8
  6081. 00003DAC  6024                     bra        +0x26 /* 00003DD2 */
  6082. label00003DAE:
  6083. 00003DAE  2004                     move.l     D0, D4
  6084. 00003DB0  5280                     addq.l     D0, 1
  6085. 00003DB2  2F00                     move.l     -[A7], D0
  6086. 00003DB4  4878 000B                push.l     0xB
  6087. 00003DB8  4EAD DC58                jsr        [A5 - 0x23A8]
  6088. 00003DBC  2648                     movea.l    A3, A0
  6089. 00003DBE  504F                     addq.w     A7, 8
  6090. 00003DC0  6010                     bra        +0x12 /* 00003DD2 */
  6091. label00003DC2:
  6092. 00003DC2  594F                     subq.w     A7, 4
  6093. 00003DC4  2F3C 4353 5452           move.l     -[A7], 0x43535452 /* 'CSTR' */
  6094. 00003DCA  3F04                     move.w     -[A7], D4
  6095. 00003DCC  A9A0                     syscall    GetResource
  6096. 00003DCE  205F                     movea.l    A0, [A7]+
  6097. 00003DD0  2648                     movea.l    A3, A0
  6098. label00003DD2:
  6099. 00003DD2  200B                     move.l     D0, A3
  6100. 00003DD4  671A                     beq        +0x1C /* 00003DF0 */
  6101. 00003DD6  2F0B                     move.l     -[A7], A3
  6102. 00003DD8  4EAD DD80                jsr        [A5 - 0x2280]
  6103. 00003DDC  584F                     addq.w     A7, 4
  6104. 00003DDE  2F08                     move.l     -[A7], A0
  6105. 00003DE0  2F0A                     move.l     -[A7], A2
  6106. 00003DE2  4EAD DBB0                jsr        [A5 - 0x2450]
  6107. 00003DE6  2F0B                     move.l     -[A7], A3
  6108. 00003DE8  4EAD DD88                jsr        [A5 - 0x2278]
  6109. 00003DEC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6110. label00003DF0:
  6111. 00003DF0  3F03                     move.w     -[A7], D3
  6112. 00003DF2  4EAD DB0E                jsr        [A5 - 0x24F2]
  6113. 00003DF6  544F                     addq.w     A7, 2
  6114. 00003DF8  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  6115. 00003DFC  4E75                     rts
  6116. 00003DFE  48E7 1800                movem.l    -[A7], D3,D4
  6117. 00003E02  4EAD DB08                jsr        [A5 - 0x24F8]
  6118. 00003E06  3800                     move.w     D4, D0
  6119. 00003E08  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  6120. 00003E0C  4EAD DB0E                jsr        [A5 - 0x24F2]
  6121. 00003E10  4878 002D                push.l     0x2D /* '-' */
  6122. 00003E14  4EAD DC60                jsr        [A5 - 0x23A0]
  6123. 00003E18  2600                     move.l     D3, D0
  6124. 00003E1A  3F04                     move.w     -[A7], D4
  6125. 00003E1C  4EAD DB0E                jsr        [A5 - 0x24F2]
  6126. 00003E20  2003                     move.l     D0, D3
  6127. 00003E22  504F                     addq.w     A7, 8
  6128. 00003E24  4CDF 0018                movem.l    D3,D4, [A7]+
  6129. 00003E28  4E75                     rts
  6130. 00003E2A  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  6131. 00003E2E  282F 0024                move.l     D4, [A7 + 0x24]
  6132. 00003E32  362F 0028                move.w     D3, [A7 + 0x28]
  6133. 00003E36  2C2F 002A                move.l     D6, [A7 + 0x2A]
  6134. 00003E3A  246F 002E                movea.l    A2, [A7 + 0x2E]
  6135. 00003E3E  286F 0032                movea.l    A4, [A7 + 0x32]
  6136. 00003E42  4EAD DB08                jsr        [A5 - 0x24F8]
  6137. 00003E46  3A00                     move.w     D5, D0
  6138. 00003E48  3F03                     move.w     -[A7], D3
  6139. 00003E4A  4EAD DB0E                jsr        [A5 - 0x24F2]
  6140. 00003E4E  4A86                     tst.l      D6
  6141. 00003E50  544F                     addq.w     A7, 2
  6142. 00003E52  6D58                     blt        +0x5A /* 00003EAC */
  6143. 00003E54  2F06                     move.l     -[A7], D6
  6144. 00003E56  4878 0029                push.l     0x29 /* ')' */
  6145. 00003E5A  4EAD DB26                jsr        [A5 - 0x24DA]
  6146. 00003E5E  2C48                     movea.l    A6, A0
  6147. 00003E60  2008                     move.l     D0, A0
  6148. 00003E62  504F                     addq.w     A7, 8
  6149. 00003E64  6746                     beq        +0x48 /* 00003EAC */
  6150. 00003E66  2656                     movea.l    A3, [A6]
  6151. 00003E68  2493                     move.l     [A2], [A3]
  6152. 00003E6A  256B 0004 0004           move.l     [A2 + 0x4], [A3 + 0x4]
  6153. 00003E70  28AB 0008                move.l     [A4], [A3 + 0x8]
  6154. 00003E74  396B 000C 0004           move.w     [A4 + 0x4], [A3 + 0xC]
  6155. 00003E7A  302B 000E                move.w     D0, [A3 + 0xE]
  6156. 00003E7E  7201                     moveq.l    D1, 0x01
  6157. 00003E80  C081                     and.l      D0, D1
  6158. 00003E82  6714                     beq        +0x16 /* 00003E98 */
  6159. 00003E84  3F03                     move.w     -[A7], D3
  6160. 00003E86  4878 0001                push.l     0x1
  6161. 00003E8A  2F04                     move.l     -[A7], D4
  6162. 00003E8C  2F0A                     move.l     -[A7], A2
  6163. 00003E8E  4EBA 0C80                jsr        [PC + 0xC80 /* 00004B10 */]
  6164. 00003E92  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6165. 00003E96  6052                     bra        +0x54 /* 00003EEA */
  6166. label00003E98:
  6167. 00003E98  3F03                     move.w     -[A7], D3
  6168. 00003E9A  4878 0001                push.l     0x1
  6169. 00003E9E  2F04                     move.l     -[A7], D4
  6170. 00003EA0  2F0A                     move.l     -[A7], A2
  6171. 00003EA2  4EBA 0B48                jsr        [PC + 0xB48 /* 000049EC */]
  6172. 00003EA6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6173. 00003EAA  603E                     bra        +0x40 /* 00003EEA */
  6174. label00003EAC:
  6175. 00003EAC  2F04                     move.l     -[A7], D4
  6176. 00003EAE  4EAD DD40                jsr        [A5 - 0x22C0]
  6177. 00003EB2  2F0A                     move.l     -[A7], A2
  6178. 00003EB4  A972                     syscall    GetMouse
  6179. 00003EB6  2F0A                     move.l     -[A7], A2
  6180. 00003EB8  A870                     syscall    LocalToGlobal
  6181. 00003EBA  0652 0014                addi.w     [A2], 0x14
  6182. 00003EBE  302A 0002                move.w     D0, [A2 + 0x2]
  6183. 00003EC2  48C0                     ext.l      D0
  6184. 00003EC4  5280                     addq.l     D0, 1
  6185. 00003EC6  3540 0006                move.w     [A2 + 0x6], D0
  6186. 00003ECA  3012                     move.w     D0, [A2]
  6187. 00003ECC  48C0                     ext.l      D0
  6188. 00003ECE  5280                     addq.l     D0, 1
  6189. 00003ED0  3540 0004                move.w     [A2 + 0x4], D0
  6190. 00003ED4  4EAD DD48                jsr        [A5 - 0x22B8]
  6191. 00003ED8  397C FFFF 0004           move.w     [A4 + 0x4], 0xFFFF
  6192. 00003EDE  397C FFFF 0002           move.w     [A4 + 0x2], 0xFFFF
  6193. 00003EE4  38BC FFFF                move.w     [A4], 0xFFFF
  6194. 00003EE8  584F                     addq.w     A7, 4
  6195. label00003EEA:
  6196. 00003EEA  3F05                     move.w     -[A7], D5
  6197. 00003EEC  4EAD DB0E                jsr        [A5 - 0x24F2]
  6198. 00003EF0  200E                     move.l     D0, A6
  6199. 00003EF2  56C0                     sne        D0
  6200. 00003EF4  4400                     neg.b      D0
  6201. 00003EF6  4880                     ext.w      D0
  6202. 00003EF8  48C0                     ext.l      D0
  6203. 00003EFA  544F                     addq.w     A7, 2
  6204. 00003EFC  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  6205. 00003F00  4E75                     rts
  6206. 00003F02  2F0A                     move.l     -[A7], A2
  6207. 00003F04  5D4F                     subq.w     A7, 6
  6208. 00003F06  4EAD DB08                jsr        [A5 - 0x24F8]
  6209. 00003F0A  3F40 0004                move.w     [A7 + 0x4], D0
  6210. 00003F0E  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  6211. 00003F12  4EAD DB0E                jsr        [A5 - 0x24F2]
  6212. 00003F16  4878 0003                push.l     0x3
  6213. 00003F1A  4878 002F                push.l     0x2F /* '/' */
  6214. 00003F1E  4EAD DB26                jsr        [A5 - 0x24DA]
  6215. 00003F22  2448                     movea.l    A2, A0
  6216. 00003F24  200A                     move.l     D0, A2
  6217. 00003F26  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6218. 00003F2A  6606                     bne        +0x8 /* 00003F32 */
  6219. 00003F2C  2E80                     move.l     [A7], D0
  6220. 00003F2E  7001                     moveq.l    D0, 0x01
  6221. 00003F30  6006                     bra        +0x8 /* 00003F38 */
  6222. label00003F32:
  6223. 00003F32  2052                     movea.l    A0, [A2]
  6224. 00003F34  3010                     move.w     D0, [A0]
  6225. 00003F36  48C0                     ext.l      D0
  6226. label00003F38:
  6227. 00003F38  206F 0010                movea.l    A0, [A7 + 0x10]
  6228. 00003F3C  2080                     move.l     [A0], D0
  6229. 00003F3E  4878 0004                push.l     0x4
  6230. 00003F42  4878 002F                push.l     0x2F /* '/' */
  6231. 00003F46  4EAD DB26                jsr        [A5 - 0x24DA]
  6232. 00003F4A  2448                     movea.l    A2, A0
  6233. 00003F4C  200A                     move.l     D0, A2
  6234. 00003F4E  504F                     addq.w     A7, 8
  6235. 00003F50  6606                     bne        +0x8 /* 00003F58 */
  6236. 00003F52  2E80                     move.l     [A7], D0
  6237. 00003F54  7000                     moveq.l    D0, 0x00
  6238. 00003F56  6006                     bra        +0x8 /* 00003F5E */
  6239. label00003F58:
  6240. 00003F58  2052                     movea.l    A0, [A2]
  6241. 00003F5A  3010                     move.w     D0, [A0]
  6242. 00003F5C  48C0                     ext.l      D0
  6243. label00003F5E:
  6244. 00003F5E  206F 0014                movea.l    A0, [A7 + 0x14]
  6245. 00003F62  2080                     move.l     [A0], D0
  6246. 00003F64  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  6247. 00003F68  4EAD DB0E                jsr        [A5 - 0x24F2]
  6248. 00003F6C  504F                     addq.w     A7, 8
  6249. 00003F6E  245F                     movea.l    A2, [A7]+
  6250. 00003F70  4E75                     rts
  6251. 00003F72  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  6252. 00003F76  282F 001C                move.l     D4, [A7 + 0x1C]
  6253. 00003F7A  246F 0020                movea.l    A2, [A7 + 0x20]
  6254. 00003F7E  7600                     moveq.l    D3, 0x00
  6255. 00003F80  4EAD DB08                jsr        [A5 - 0x24F8]
  6256. 00003F84  3A00                     move.w     D5, D0
  6257. 00003F86  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  6258. 00003F8A  4EAD DB0E                jsr        [A5 - 0x24F2]
  6259. 00003F8E  7000                     moveq.l    D0, 0x00
  6260. 00003F90  102F 001C                move.b     D0, [A7 + 0x1C]
  6261. 00003F94  544F                     addq.w     A7, 2
  6262. 00003F96  4A80                     tst.l      D0
  6263. 00003F98  6720                     beq        +0x22 /* 00003FBA */
  6264. 00003F9A  5380                     subq.l     D0, 1
  6265. 00003F9C  6732                     beq        +0x34 /* 00003FD0 */
  6266. 00003F9E  5380                     subq.l     D0, 1
  6267. 00003FA0  6760                     beq        +0x62 /* 00004002 */
  6268. 00003FA2  5380                     subq.l     D0, 1
  6269. 00003FA4  6704                     beq        +0x6 /* 00003FAA */
  6270. 00003FA6  6000 00AC                bra        +0xAE /* 00004054 */
  6271. label00003FAA:
  6272. 00003FAA  4878 000E                push.l     0xE
  6273. 00003FAE  4EAD DB56                jsr        [A5 - 0x24AA]
  6274. 00003FB2  2600                     move.l     D3, D0
  6275. 00003FB4  584F                     addq.w     A7, 4
  6276. 00003FB6  6000 009C                bra        +0x9E /* 00004054 */
  6277. label00003FBA:
  6278. 00003FBA  4878 0005                push.l     0x5
  6279. 00003FBE  4EAD DB56                jsr        [A5 - 0x24AA]
  6280. 00003FC2  2600                     move.l     D3, D0
  6281. 00003FC4  584F                     addq.w     A7, 4
  6282. 00003FC6  6600 008C                bne        +0x8E /* 00004054 */
  6283. 00003FCA  7601                     moveq.l    D3, 0x01
  6284. 00003FCC  6000 0086                bra        +0x88 /* 00004054 */
  6285. label00003FD0:
  6286. 00003FD0  2F04                     move.l     -[A7], D4
  6287. 00003FD2  4878 0005                push.l     0x5
  6288. 00003FD6  4EAD DB20                jsr        [A5 - 0x24E0]
  6289. 00003FDA  2448                     movea.l    A2, A0
  6290. 00003FDC  2008                     move.l     D0, A0
  6291. 00003FDE  504F                     addq.w     A7, 8
  6292. 00003FE0  6712                     beq        +0x14 /* 00003FF4 */
  6293. 00003FE2  4878 0005                push.l     0x5
  6294. 00003FE6  2F0A                     move.l     -[A7], A2
  6295. 00003FE8  4EAD DB1A                jsr        [A5 - 0x24E6]
  6296. 00003FEC  48C0                     ext.l      D0
  6297. 00003FEE  2600                     move.l     D3, D0
  6298. 00003FF0  504F                     addq.w     A7, 8
  6299. 00003FF2  6060                     bra        +0x62 /* 00004054 */
  6300. label00003FF4:
  6301. 00003FF4  7001                     moveq.l    D0, 0x01
  6302. 00003FF6  B880                     cmp.l      D4, D0
  6303. 00003FF8  6604                     bne        +0x6 /* 00003FFE */
  6304. 00003FFA  7600                     moveq.l    D3, 0x00
  6305. 00003FFC  6056                     bra        +0x58 /* 00004054 */
  6306. label00003FFE:
  6307. 00003FFE  76FF                     moveq.l    D3, 0xFFFFFFFF
  6308. 00004000  6052                     bra        +0x54 /* 00004054 */
  6309. label00004002:
  6310. 00004002  4212                     clr.b      [A2]
  6311. 00004004  2F04                     move.l     -[A7], D4
  6312. 00004006  4878 0005                push.l     0x5
  6313. 0000400A  4EAD DB20                jsr        [A5 - 0x24E0]
  6314. 0000400E  2648                     movea.l    A3, A0
  6315. 00004010  2008                     move.l     D0, A0
  6316. 00004012  504F                     addq.w     A7, 8
  6317. 00004014  6714                     beq        +0x16 /* 0000402A */
  6318. 00004016  202F 0024                move.l     D0, [A7 + 0x24]
  6319. 0000401A  5380                     subq.l     D0, 1
  6320. 0000401C  2F00                     move.l     -[A7], D0
  6321. 0000401E  2F13                     move.l     -[A7], [A3]
  6322. 00004020  2F0A                     move.l     -[A7], A2
  6323. 00004022  4EAD D964                jsr        [A5 - 0x269C]
  6324. 00004026  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6325. label0000402A:
  6326. 0000402A  4A12                     tst.b      [A2]
  6327. 0000402C  6626                     bne        +0x28 /* 00004054 */
  6328. 0000402E  7001                     moveq.l    D0, 0x01
  6329. 00004030  B880                     cmp.l      D4, D0
  6330. 00004032  6620                     bne        +0x22 /* 00004054 */
  6331. 00004034  2F0A                     move.l     -[A7], A2
  6332. 00004036  302D 135E                move.w     D0, [A5 + 0x135E]
  6333. 0000403A  48C0                     ext.l      D0
  6334. 0000403C  0680 0000 0081           addi.l     D0, 0x81
  6335. 00004042  3F00                     move.w     -[A7], D0
  6336. 00004044  3F3C 0005                move.w     -[A7], 0x5
  6337. 00004048  4EAD DA4E                jsr        [A5 - 0x25B2]
  6338. 0000404C  2F0A                     move.l     -[A7], A2
  6339. 0000404E  4EAD DA72                jsr        [A5 - 0x258E]
  6340. 00004052  584F                     addq.w     A7, 4
  6341. label00004054:
  6342. 00004054  3F05                     move.w     -[A7], D5
  6343. 00004056  4EAD DB0E                jsr        [A5 - 0x24F2]
  6344. 0000405A  2003                     move.l     D0, D3
  6345. 0000405C  544F                     addq.w     A7, 2
  6346. 0000405E  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6347. 00004062  4E75                     rts
  6348. 00004064  5D4F                     subq.w     A7, 6
  6349. 00004066  4EAD DB08                jsr        [A5 - 0x24F8]
  6350. 0000406A  3E80                     move.w     [A7], D0
  6351. 0000406C  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6352. 00004070  4EAD DB0E                jsr        [A5 - 0x24F2]
  6353. 00004074  4878 0040                push.l     0x40 /* '@' */
  6354. 00004078  4EAD DB56                jsr        [A5 - 0x24AA]
  6355. 0000407C  2F40 0008                move.l     [A7 + 0x8], D0
  6356. 00004080  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  6357. 00004084  4EAD DB0E                jsr        [A5 - 0x24F2]
  6358. 00004088  202F 000A                move.l     D0, [A7 + 0xA]
  6359. 0000408C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6360. 00004090  4E75                     rts
  6361. 00004092  2F03                     move.l     -[A7], D3
  6362. 00004094  594F                     subq.w     A7, 4
  6363. 00004096  362F 000E                move.w     D3, [A7 + 0xE]
  6364. 0000409A  42A7                     clr.l      -[A7]
  6365. 0000409C  486F 0004                pea.l      [A7 + 0x4]
  6366. 000040A0  3F3C 0080                move.w     -[A7], 0x80
  6367. 000040A4  2F3C 4E45 4152           move.l     -[A7], 0x4E454152 /* 'NEAR' */
  6368. 000040AA  3F03                     move.w     -[A7], D3
  6369. 000040AC  4EBA 086C                jsr        [PC + 0x86C /* 0000491A */]
  6370. 000040B0  4A40                     tst.w      D0
  6371. 000040B2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6372. 000040B6  6610                     bne        +0x12 /* 000040C8 */
  6373. 000040B8  4A97                     tst.l      [A7]
  6374. 000040BA  670C                     beq        +0xE /* 000040C8 */
  6375. 000040BC  2057                     movea.l    A0, [A7]
  6376. 000040BE  2050                     movea.l    A0, [A0]
  6377. 000040C0  3010                     move.w     D0, [A0]
  6378. 000040C2  584F                     addq.w     A7, 4
  6379. 000040C4  261F                     move.l     D3, [A7]+
  6380. 000040C6  4E75                     rts
  6381. label000040C8:
  6382. 000040C8  4EAD DB08                jsr        [A5 - 0x24F8]
  6383. 000040CC  3600                     move.w     D3, D0
  6384. 000040CE  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  6385. 000040D2  4EAD DB0E                jsr        [A5 - 0x24F2]
  6386. 000040D6  4878 0001                push.l     0x1
  6387. 000040DA  4878 0041                push.l     0x41 /* 'A' */
  6388. 000040DE  4EAD DB26                jsr        [A5 - 0x24DA]
  6389. 000040E2  2F48 000A                move.l     [A7 + 0xA], A0
  6390. 000040E6  3F03                     move.w     -[A7], D3
  6391. 000040E8  4EAD DB0E                jsr        [A5 - 0x24F2]
  6392. 000040EC  4AAF 000C                tst.l      [A7 + 0xC]
  6393. 000040F0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6394. 000040F4  6604                     bne        +0x6 /* 000040FA */
  6395. 000040F6  7008                     moveq.l    D0, 0x08
  6396. 000040F8  6008                     bra        +0xA /* 00004102 */
  6397. label000040FA:
  6398. 000040FA  2057                     movea.l    A0, [A7]
  6399. 000040FC  2050                     movea.l    A0, [A0]
  6400. 000040FE  3010                     move.w     D0, [A0]
  6401. 00004100  48C0                     ext.l      D0
  6402. label00004102:
  6403. 00004102  584F                     addq.w     A7, 4
  6404. 00004104  261F                     move.l     D3, [A7]+
  6405. 00004106  4E75                     rts
  6406. 00004108  2F03                     move.l     -[A7], D3
  6407. 0000410A  594F                     subq.w     A7, 4
  6408. 0000410C  554F                     subq.w     A7, 2
  6409. 0000410E  486F 0010                pea.l      [A7 + 0x10]
  6410. 00004112  486F 0006                pea.l      [A7 + 0x6]
  6411. 00004116  4878 0002                push.l     0x2
  6412. 0000411A  4EAD DA36                jsr        [A5 - 0x25CA]
  6413. 0000411E  301F                     move.w     D0, [A7]+
  6414. 00004120  3600                     move.w     D3, D0
  6415. 00004122  4A43                     tst.w      D3
  6416. 00004124  6708                     beq        +0xA /* 0000412E */
  6417. 00004126  3003                     move.w     D0, D3
  6418. 00004128  584F                     addq.w     A7, 4
  6419. 0000412A  261F                     move.l     D3, [A7]+
  6420. 0000412C  4E75                     rts
  6421. label0000412E:
  6422. 0000412E  3F3C 0080                move.w     -[A7], 0x80
  6423. 00004132  2F3C 4E45 4152           move.l     -[A7], 0x4E454152 /* 'NEAR' */
  6424. 00004138  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  6425. 0000413C  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6426. 00004140  4EBA 0746                jsr        [PC + 0x746 /* 00004888 */]
  6427. 00004144  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6428. 00004148  261F                     move.l     D3, [A7]+
  6429. 0000414A  4E75                     rts
  6430. 0000414C  5D4F                     subq.w     A7, 6
  6431. 0000414E  4EAD DB08                jsr        [A5 - 0x24F8]
  6432. 00004152  3F40 0004                move.w     [A7 + 0x4], D0
  6433. 00004156  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6434. 0000415A  4EAD DB0E                jsr        [A5 - 0x24F2]
  6435. 0000415E  202F 000E                move.l     D0, [A7 + 0xE]
  6436. 00004162  5280                     addq.l     D0, 1
  6437. 00004164  2F00                     move.l     -[A7], D0
  6438. 00004166  4878 0040                push.l     0x40 /* '@' */
  6439. 0000416A  4EAD DB26                jsr        [A5 - 0x24DA]
  6440. 0000416E  2F48 000A                move.l     [A7 + 0xA], A0
  6441. 00004172  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  6442. 00004176  4EAD DB0E                jsr        [A5 - 0x24F2]
  6443. 0000417A  206F 000C                movea.l    A0, [A7 + 0xC]
  6444. 0000417E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6445. 00004182  4E75                     rts
  6446. 00004184  5D4F                     subq.w     A7, 6
  6447. 00004186  4EAD DB08                jsr        [A5 - 0x24F8]
  6448. 0000418A  3F40 0004                move.w     [A7 + 0x4], D0
  6449. 0000418E  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6450. 00004192  4EAD DB0E                jsr        [A5 - 0x24F2]
  6451. 00004196  302F 000E                move.w     D0, [A7 + 0xE]
  6452. 0000419A  48C0                     ext.l      D0
  6453. 0000419C  5280                     addq.l     D0, 1
  6454. 0000419E  2F00                     move.l     -[A7], D0
  6455. 000041A0  4878 000F                push.l     0xF
  6456. 000041A4  4EAD DB26                jsr        [A5 - 0x24DA]
  6457. 000041A8  2F48 000A                move.l     [A7 + 0xA], A0
  6458. 000041AC  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  6459. 000041B0  4EAD DB0E                jsr        [A5 - 0x24F2]
  6460. 000041B4  206F 000C                movea.l    A0, [A7 + 0xC]
  6461. 000041B8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6462. 000041BC  4E75                     rts
  6463. 000041BE  554F                     subq.w     A7, 2
  6464. 000041C0  4EAD DB08                jsr        [A5 - 0x24F8]
  6465. 000041C4  3E80                     move.w     [A7], D0
  6466. 000041C6  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  6467. 000041CA  4EAD DB0E                jsr        [A5 - 0x24F2]
  6468. 000041CE  202F 000A                move.l     D0, [A7 + 0xA]
  6469. 000041D2  5280                     addq.l     D0, 1
  6470. 000041D4  2F00                     move.l     -[A7], D0
  6471. 000041D6  4878 0042                push.l     0x42 /* 'B' */
  6472. 000041DA  4EAD DB26                jsr        [A5 - 0x24DA]
  6473. 000041DE  226F 0016                movea.l    A1, [A7 + 0x16]
  6474. 000041E2  2288                     move.l     [A1], A0
  6475. 000041E4  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6476. 000041E8  4EAD DB0E                jsr        [A5 - 0x24F2]
  6477. 000041EC  4EAD DB02                jsr        [A5 - 0x24FE]
  6478. 000041F0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6479. 000041F4  4E75                     rts
  6480. 000041F6  554F                     subq.w     A7, 2
  6481. 000041F8  4EAD DB08                jsr        [A5 - 0x24F8]
  6482. 000041FC  3E80                     move.w     [A7], D0
  6483. 000041FE  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  6484. 00004202  4EAD DB0E                jsr        [A5 - 0x24F2]
  6485. 00004206  202F 000A                move.l     D0, [A7 + 0xA]
  6486. 0000420A  5280                     addq.l     D0, 1
  6487. 0000420C  2F00                     move.l     -[A7], D0
  6488. 0000420E  4878 0010                push.l     0x10
  6489. 00004212  4EAD DB26                jsr        [A5 - 0x24DA]
  6490. 00004216  226F 0016                movea.l    A1, [A7 + 0x16]
  6491. 0000421A  2288                     move.l     [A1], A0
  6492. 0000421C  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6493. 00004220  4EAD DB0E                jsr        [A5 - 0x24F2]
  6494. 00004224  4EAD DB02                jsr        [A5 - 0x24FE]
  6495. 00004228  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6496. 0000422C  4E75                     rts
  6497. 0000422E  48E7 1030                movem.l    -[A7], D3,A2,A3
  6498. 00004232  246F 0016                movea.l    A2, [A7 + 0x16]
  6499. 00004236  4EAD DB08                jsr        [A5 - 0x24F8]
  6500. 0000423A  3600                     move.w     D3, D0
  6501. 0000423C  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  6502. 00004240  4EAD DB0E                jsr        [A5 - 0x24F2]
  6503. 00004244  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  6504. 00004248  4878 0043                push.l     0x43 /* 'C' */
  6505. 0000424C  4EAD DB26                jsr        [A5 - 0x24DA]
  6506. 00004250  2648                     movea.l    A3, A0
  6507. 00004252  3F03                     move.w     -[A7], D3
  6508. 00004254  4EAD DB0E                jsr        [A5 - 0x24F2]
  6509. 00004258  4212                     clr.b      [A2]
  6510. 0000425A  200B                     move.l     D0, A3
  6511. 0000425C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6512. 00004260  670A                     beq        +0xC /* 0000426C */
  6513. 00004262  2F13                     move.l     -[A7], [A3]
  6514. 00004264  2F0A                     move.l     -[A7], A2
  6515. 00004266  4EAD DDC8                jsr        [A5 - 0x2238]
  6516. 0000426A  504F                     addq.w     A7, 8
  6517. label0000426C:
  6518. 0000426C  4A12                     tst.b      [A2]
  6519. 0000426E  660A                     bne        +0xC /* 0000427A */
  6520. 00004270  14BC 0001                move.b     [A2], 0x1
  6521. 00004274  157C 0020 0001           move.b     [A2 + 0x1], 0x20 /* ' ' */
  6522. label0000427A:
  6523. 0000427A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  6524. 0000427E  4E75                     rts
  6525. 00004280  48E7 1820                movem.l    -[A7], D3,D4,A2
  6526. 00004284  282F 0012                move.l     D4, [A7 + 0x12]
  6527. 00004288  4EAD DB08                jsr        [A5 - 0x24F8]
  6528. 0000428C  3600                     move.w     D3, D0
  6529. 0000428E  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  6530. 00004292  4EAD DB0E                jsr        [A5 - 0x24F2]
  6531. 00004296  2004                     move.l     D0, D4
  6532. 00004298  5280                     addq.l     D0, 1
  6533. 0000429A  2F00                     move.l     -[A7], D0
  6534. 0000429C  4878 0009                push.l     0x9 /* '\t' */
  6535. 000042A0  4EAD DB20                jsr        [A5 - 0x24E0]
  6536. 000042A4  2448                     movea.l    A2, A0
  6537. 000042A6  2008                     move.l     D0, A0
  6538. 000042A8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6539. 000042AC  670A                     beq        +0xC /* 000042B8 */
  6540. 000042AE  2004                     move.l     D0, D4
  6541. 000042B0  5280                     addq.l     D0, 1
  6542. 000042B2  206F 0016                movea.l    A0, [A7 + 0x16]
  6543. 000042B6  2080                     move.l     [A0], D0
  6544. label000042B8:
  6545. 000042B8  3F03                     move.w     -[A7], D3
  6546. 000042BA  4EAD DB0E                jsr        [A5 - 0x24F2]
  6547. 000042BE  204A                     movea.l    A0, A2
  6548. 000042C0  544F                     addq.w     A7, 2
  6549. 000042C2  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6550. 000042C6  4E75                     rts
  6551. 000042C8  5D4F                     subq.w     A7, 6
  6552. 000042CA  4EAD DB08                jsr        [A5 - 0x24F8]
  6553. 000042CE  3F40 0004                move.w     [A7 + 0x4], D0
  6554. 000042D2  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6555. 000042D6  4EAD DB0E                jsr        [A5 - 0x24F2]
  6556. 000042DA  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6557. 000042DE  4878 000A                push.l     0xA /* '\n' */
  6558. 000042E2  4EAD DB26                jsr        [A5 - 0x24DA]
  6559. 000042E6  2F48 000A                move.l     [A7 + 0xA], A0
  6560. 000042EA  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  6561. 000042EE  4EAD DB0E                jsr        [A5 - 0x24F2]
  6562. 000042F2  206F 000C                movea.l    A0, [A7 + 0xC]
  6563. 000042F6  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6564. 000042FA  4E75                     rts
  6565. 000042FC  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  6566. 00004300  286F 001E                movea.l    A4, [A7 + 0x1E]
  6567. 00004304  4EAD DB08                jsr        [A5 - 0x24F8]
  6568. 00004308  3600                     move.w     D3, D0
  6569. 0000430A  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  6570. 0000430E  4EAD DB0E                jsr        [A5 - 0x24F2]
  6571. 00004312  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  6572. 00004316  4878 0028                push.l     0x28 /* '(' */
  6573. 0000431A  4EAD DB26                jsr        [A5 - 0x24DA]
  6574. 0000431E  2648                     movea.l    A3, A0
  6575. 00004320  2008                     move.l     D0, A0
  6576. 00004322  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6577. 00004326  6736                     beq        +0x38 /* 0000435E */
  6578. 00004328  2453                     movea.l    A2, [A3]
  6579. 0000432A  2892                     move.l     [A4], [A2]
  6580. 0000432C  296A 0004 0004           move.l     [A4 + 0x4], [A2 + 0x4]
  6581. 00004332  206F 0022                movea.l    A0, [A7 + 0x22]
  6582. 00004336  20AA 0008                move.l     [A0], [A2 + 0x8]
  6583. 0000433A  316A 000C 0004           move.w     [A0 + 0x4], [A2 + 0xC]
  6584. 00004340  206F 0026                movea.l    A0, [A7 + 0x26]
  6585. 00004344  30AA 000E                move.w     [A0], [A2 + 0xE]
  6586. 00004348  302A 000E                move.w     D0, [A2 + 0xE]
  6587. 0000434C  7210                     moveq.l    D1, 0x10
  6588. 0000434E  C081                     and.l      D0, D1
  6589. 00004350  660C                     bne        +0xE /* 0000435E */
  6590. 00004352  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  6591. 00004356  2F0C                     move.l     -[A7], A4
  6592. 00004358  4EBA F79C                jsr        [PC - 0x864 /* 00003AF6 */]
  6593. 0000435C  504F                     addq.w     A7, 8
  6594. label0000435E:
  6595. 0000435E  3F03                     move.w     -[A7], D3
  6596. 00004360  4EAD DB0E                jsr        [A5 - 0x24F2]
  6597. 00004364  200B                     move.l     D0, A3
  6598. 00004366  56C0                     sne        D0
  6599. 00004368  4400                     neg.b      D0
  6600. 0000436A  4880                     ext.w      D0
  6601. 0000436C  48C0                     ext.l      D0
  6602. 0000436E  544F                     addq.w     A7, 2
  6603. 00004370  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  6604. 00004374  4E75                     rts
  6605. 00004376  2F0A                     move.l     -[A7], A2
  6606. 00004378  554F                     subq.w     A7, 2
  6607. 0000437A  4EAD DB08                jsr        [A5 - 0x24F8]
  6608. 0000437E  3E80                     move.w     [A7], D0
  6609. 00004380  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6610. 00004384  4EAD DB0E                jsr        [A5 - 0x24F2]
  6611. 00004388  202F 000E                move.l     D0, [A7 + 0xE]
  6612. 0000438C  5280                     addq.l     D0, 1
  6613. 0000438E  2F00                     move.l     -[A7], D0
  6614. 00004390  4878 0001                push.l     0x1
  6615. 00004394  4EAD DB26                jsr        [A5 - 0x24DA]
  6616. 00004398  2448                     movea.l    A2, A0
  6617. 0000439A  2008                     move.l     D0, A0
  6618. 0000439C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6619. 000043A0  6704                     beq        +0x6 /* 000043A6 */
  6620. 000043A2  204A                     movea.l    A0, A2
  6621. 000043A4  A04A                     syscall    HNoPurge
  6622. label000043A6:
  6623. 000043A6  3F17                     move.w     -[A7], [A7]
  6624. 000043A8  4EAD DB0E                jsr        [A5 - 0x24F2]
  6625. 000043AC  204A                     movea.l    A0, A2
  6626. 000043AE  584F                     addq.w     A7, 4
  6627. 000043B0  245F                     movea.l    A2, [A7]+
  6628. 000043B2  4E75                     rts
  6629. 000043B4  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  6630. 000043B8  266F 0018                movea.l    A3, [A7 + 0x18]
  6631. 000043BC  286F 001C                movea.l    A4, [A7 + 0x1C]
  6632. 000043C0  B9CB                     cmpa.l     A4, A3
  6633. 000043C2  6608                     bne        +0xA /* 000043CC */
  6634. 000043C4  7000                     moveq.l    D0, 0x00
  6635. 000043C6  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  6636. 000043CA  4E75                     rts
  6637. label000043CC:
  6638. 000043CC  200C                     move.l     D0, A4
  6639. 000043CE  6742                     beq        +0x44 /* 00004412 */
  6640. 000043D0  200B                     move.l     D0, A3
  6641. 000043D2  673E                     beq        +0x40 /* 00004412 */
  6642. 000043D4  594F                     subq.w     A7, 4
  6643. 000043D6  2F0B                     move.l     -[A7], A3
  6644. 000043D8  4EAD D9AC                jsr        [A5 - 0x2654]
  6645. 000043DC  201F                     move.l     D0, [A7]+
  6646. 000043DE  E488                     lsr        D0, 2
  6647. 000043E0  2600                     move.l     D3, D0
  6648. 000043E2  594F                     subq.w     A7, 4
  6649. 000043E4  2F0C                     move.l     -[A7], A4
  6650. 000043E6  4EAD D9AC                jsr        [A5 - 0x2654]
  6651. 000043EA  201F                     move.l     D0, [A7]+
  6652. 000043EC  E488                     lsr        D0, 2
  6653. 000043EE  2800                     move.l     D4, D0
  6654. 000043F0  2453                     movea.l    A2, [A3]
  6655. 000043F2  2654                     movea.l    A3, [A4]
  6656. 000043F4  600C                     bra        +0xE /* 00004402 */
  6657. label000043F6:
  6658. 000043F6  B58B                     cmpm.l     [A2]+, [A3]+
  6659. 000043F8  6608                     bne        +0xA /* 00004402 */
  6660. 000043FA  7000                     moveq.l    D0, 0x00
  6661. 000043FC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  6662. 00004400  4E75                     rts
  6663. label00004402:
  6664. 00004402  2003                     move.l     D0, D3
  6665. 00004404  5383                     subq.l     D3, 1
  6666. 00004406  4A80                     tst.l      D0
  6667. 00004408  6708                     beq        +0xA /* 00004412 */
  6668. 0000440A  2004                     move.l     D0, D4
  6669. 0000440C  5384                     subq.l     D4, 1
  6670. 0000440E  4A80                     tst.l      D0
  6671. 00004410  66E4                     bne        -0x1A /* 000043F6 */
  6672. label00004412:
  6673. 00004412  7001                     moveq.l    D0, 0x01
  6674. 00004414  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  6675. 00004418  4E75                     rts
  6676. 0000441A  554F                     subq.w     A7, 2
  6677. 0000441C  4EAD DB08                jsr        [A5 - 0x24F8]
  6678. 00004420  3E80                     move.w     [A7], D0
  6679. 00004422  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6680. 00004426  4EAD DB0E                jsr        [A5 - 0x24F2]
  6681. 0000442A  4227                     clr.b      -[A7]
  6682. 0000442C  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6683. 00004430  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6684. 00004434  4EBA 077C                jsr        [PC + 0x77C /* 00004BB2 */]
  6685. 00004438  1F3C 0001                move.b     -[A7], 0x1
  6686. 0000443C  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  6687. 00004440  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  6688. 00004444  4EBA 076C                jsr        [PC + 0x76C /* 00004BB2 */]
  6689. 00004448  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6690. 0000444C  4EAD DB0E                jsr        [A5 - 0x24F2]
  6691. 00004450  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6692. 00004454  4E75                     rts
  6693. 00004456  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  6694. 0000445A  266F 0026                movea.l    A3, [A7 + 0x26]
  6695. 0000445E  282F 002A                move.l     D4, [A7 + 0x2A]
  6696. 00004462  262F 002E                move.l     D3, [A7 + 0x2E]
  6697. 00004466  2C6F 0032                movea.l    A6, [A7 + 0x32]
  6698. 0000446A  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  6699. 0000446E  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  6700. 00004472  4EBA 0508                jsr        [PC + 0x508 /* 0000497C */]
  6701. 00004476  2848                     movea.l    A4, A0
  6702. 00004478  2008                     move.l     D0, A0
  6703. 0000447A  5C4F                     addq.w     A7, 6
  6704. 0000447C  6756                     beq        +0x58 /* 000044D4 */
  6705. 0000447E  2454                     movea.l    A2, [A4]
  6706. 00004480  554F                     subq.w     A7, 2
  6707. 00004482  486A 0008                pea.l      [A2 + 0x8]
  6708. 00004486  A8AE                     syscall    EmptyRect
  6709. 00004488  101F                     move.b     D0, [A7]+
  6710. 0000448A  6648                     bne        +0x4A /* 000044D4 */
  6711. 0000448C  2044                     movea.l    A0, D4
  6712. 0000448E  30AA 0026                move.w     [A0], [A2 + 0x26]
  6713. 00004492  2043                     movea.l    A0, D3
  6714. 00004494  30AA 0028                move.w     [A0], [A2 + 0x28]
  6715. 00004498  26AA 0008                move.l     [A3], [A2 + 0x8]
  6716. 0000449C  276A 000C 0004           move.l     [A3 + 0x4], [A2 + 0xC]
  6717. 000044A2  302A 002A                move.w     D0, [A2 + 0x2A]
  6718. 000044A6  0280 0000 0080           andi.l     D0, 0x80
  6719. 000044AC  57C0                     seq        D0
  6720. 000044AE  4400                     neg.b      D0
  6721. 000044B0  4880                     ext.w      D0
  6722. 000044B2  48C0                     ext.l      D0
  6723. 000044B4  2C80                     move.l     [A6], D0
  6724. 000044B6  302A 002A                move.w     D0, [A2 + 0x2A]
  6725. 000044BA  7240                     moveq.l    D1, 0x40
  6726. 000044BC  C081                     and.l      D0, D1
  6727. 000044BE  660C                     bne        +0xE /* 000044CC */
  6728. 000044C0  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  6729. 000044C4  2F0B                     move.l     -[A7], A3
  6730. 000044C6  4EBA F62E                jsr        [PC - 0x9D2 /* 00003AF6 */]
  6731. 000044CA  504F                     addq.w     A7, 8
  6732. label000044CC:
  6733. 000044CC  7001                     moveq.l    D0, 0x01
  6734. 000044CE  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  6735. 000044D2  4E75                     rts
  6736. label000044D4:
  6737. 000044D4  2043                     movea.l    A0, D3
  6738. 000044D6  4250                     clr.w      [A0]
  6739. 000044D8  2044                     movea.l    A0, D4
  6740. 000044DA  4250                     clr.w      [A0]
  6741. 000044DC  7001                     moveq.l    D0, 0x01
  6742. 000044DE  2C80                     move.l     [A6], D0
  6743. 000044E0  426B 0004                clr.w      [A3 + 0x4]
  6744. 000044E4  426B 0006                clr.w      [A3 + 0x6]
  6745. 000044E8  4253                     clr.w      [A3]
  6746. 000044EA  426B 0002                clr.w      [A3 + 0x2]
  6747. 000044EE  7000                     moveq.l    D0, 0x00
  6748. 000044F0  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  6749. 000044F4  4E75                     rts
  6750. 000044F6  514F                     subq.w     A7, 8
  6751. 000044F8  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6752. 000044FC  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  6753. 00004500  4EBA 047A                jsr        [PC + 0x47A /* 0000497C */]
  6754. 00004504  2F48 000A                move.l     [A7 + 0xA], A0
  6755. 00004508  2008                     move.l     D0, A0
  6756. 0000450A  5C4F                     addq.w     A7, 6
  6757. 0000450C  6606                     bne        +0x8 /* 00004514 */
  6758. 0000450E  2E80                     move.l     [A7], D0
  6759. 00004510  7000                     moveq.l    D0, 0x00
  6760. 00004512  600C                     bra        +0xE /* 00004520 */
  6761. label00004514:
  6762. 00004514  206F 0004                movea.l    A0, [A7 + 0x4]
  6763. 00004518  2050                     movea.l    A0, [A0]
  6764. 0000451A  7000                     moveq.l    D0, 0x00
  6765. 0000451C  3028 002A                move.w     D0, [A0 + 0x2A]
  6766. label00004520:
  6767. 00004520  504F                     addq.w     A7, 8
  6768. 00004522  4E75                     rts
  6769. 00004524  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  6770. 00004528  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  6771. 0000452C  382F 0020                move.w     D4, [A7 + 0x20]
  6772. 00004530  262F 0024                move.l     D3, [A7 + 0x24]
  6773. 00004534  246F 0028                movea.l    A2, [A7 + 0x28]
  6774. 00004538  603C                     bra        +0x3E /* 00004576 */
  6775. label0000453A:
  6776. 0000453A  2654                     movea.l    A3, [A4]
  6777. 0000453C  2493                     move.l     [A2], [A3]
  6778. 0000453E  256B 0004 0004           move.l     [A2 + 0x4], [A3 + 0x4]
  6779. 00004544  554F                     subq.w     A7, 2
  6780. 00004546  2F0A                     move.l     -[A7], A2
  6781. 00004548  A8AE                     syscall    EmptyRect
  6782. 0000454A  101F                     move.b     D0, [A7]+
  6783. 0000454C  6638                     bne        +0x3A /* 00004586 */
  6784. 0000454E  302B 002A                move.w     D0, [A3 + 0x2A]
  6785. 00004552  7220                     moveq.l    D1, 0x20
  6786. 00004554  C081                     and.l      D0, D1
  6787. 00004556  670C                     beq        +0xE /* 00004564 */
  6788. 00004558  2F0E                     move.l     -[A7], A6
  6789. 0000455A  2F0A                     move.l     -[A7], A2
  6790. 0000455C  4EBA F67A                jsr        [PC - 0x986 /* 00003BD8 */]
  6791. 00004560  504F                     addq.w     A7, 8
  6792. 00004562  600A                     bra        +0xC /* 0000456E */
  6793. label00004564:
  6794. 00004564  2F0E                     move.l     -[A7], A6
  6795. 00004566  2F0A                     move.l     -[A7], A2
  6796. 00004568  4EBA F658                jsr        [PC - 0x9A8 /* 00003BC2 */]
  6797. 0000456C  504F                     addq.w     A7, 8
  6798. label0000456E:
  6799. 0000456E  7001                     moveq.l    D0, 0x01
  6800. 00004570  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  6801. 00004574  4E75                     rts
  6802. label00004576:
  6803. 00004576  2F03                     move.l     -[A7], D3
  6804. 00004578  3F04                     move.w     -[A7], D4
  6805. 0000457A  4EBA 0400                jsr        [PC + 0x400 /* 0000497C */]
  6806. 0000457E  2848                     movea.l    A4, A0
  6807. 00004580  2008                     move.l     D0, A0
  6808. 00004582  5C4F                     addq.w     A7, 6
  6809. 00004584  66B4                     bne        -0x4A /* 0000453A */
  6810. label00004586:
  6811. 00004586  554F                     subq.w     A7, 2
  6812. 00004588  A994                     syscall    CurResFile
  6813. 0000458A  301F                     move.w     D0, [A7]+
  6814. 0000458C  3600                     move.w     D3, D0
  6815. 0000458E  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  6816. 00004592  A998                     syscall    UseResFile
  6817. 00004594  594F                     subq.w     A7, 4
  6818. 00004596  2F3C 574C 4F43           move.l     -[A7], 0x574C4F43 /* 'WLOC' */
  6819. 0000459C  3F3C 0080                move.w     -[A7], 0x80
  6820. 000045A0  A81F                     syscall    Get1Resource
  6821. 000045A2  205F                     movea.l    A0, [A7]+
  6822. 000045A4  2648                     movea.l    A3, A0
  6823. 000045A6  2008                     move.l     D0, A0
  6824. 000045A8  670A                     beq        +0xC /* 000045B4 */
  6825. 000045AA  2053                     movea.l    A0, [A3]
  6826. 000045AC  2490                     move.l     [A2], [A0]
  6827. 000045AE  2568 0004 0004           move.l     [A2 + 0x4], [A0 + 0x4]
  6828. label000045B4:
  6829. 000045B4  3F03                     move.w     -[A7], D3
  6830. 000045B6  A998                     syscall    UseResFile
  6831. 000045B8  200B                     move.l     D0, A3
  6832. 000045BA  56C0                     sne        D0
  6833. 000045BC  4400                     neg.b      D0
  6834. 000045BE  4880                     ext.w      D0
  6835. 000045C0  48C0                     ext.l      D0
  6836. 000045C2  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  6837. 000045C6  4E75                     rts
  6838. 000045C8  48E7 1030                movem.l    -[A7], D3,A2,A3
  6839. 000045CC  266F 0012                movea.l    A3, [A7 + 0x12]
  6840. 000045D0  554F                     subq.w     A7, 2
  6841. 000045D2  A994                     syscall    CurResFile
  6842. 000045D4  301F                     move.w     D0, [A7]+
  6843. 000045D6  3600                     move.w     D3, D0
  6844. 000045D8  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  6845. 000045DC  A998                     syscall    UseResFile
  6846. 000045DE  594F                     subq.w     A7, 4
  6847. 000045E0  2F3C 574C 4F43           move.l     -[A7], 0x574C4F43 /* 'WLOC' */
  6848. 000045E6  3F3C 0080                move.w     -[A7], 0x80
  6849. 000045EA  A81F                     syscall    Get1Resource
  6850. 000045EC  205F                     movea.l    A0, [A7]+
  6851. 000045EE  2448                     movea.l    A2, A0
  6852. 000045F0  2008                     move.l     D0, A0
  6853. 000045F2  6718                     beq        +0x1A /* 0000460C */
  6854. 000045F4  204A                     movea.l    A0, A2
  6855. 000045F6  A04A                     syscall    HNoPurge
  6856. 000045F8  2052                     movea.l    A0, [A2]
  6857. 000045FA  2093                     move.l     [A0], [A3]
  6858. 000045FC  216B 0004 0004           move.l     [A0 + 0x4], [A3 + 0x4]
  6859. 00004602  2F0A                     move.l     -[A7], A2
  6860. 00004604  A9AA                     syscall    ChangedResource
  6861. 00004606  2F0A                     move.l     -[A7], A2
  6862. 00004608  A9B0                     syscall    WriteResource
  6863. 0000460A  6028                     bra        +0x2A /* 00004634 */
  6864. label0000460C:
  6865. 0000460C  7008                     moveq.l    D0, 0x08
  6866. 0000460E  A122                     syscall    NewHandle, flags=1
  6867. 00004610  2448                     movea.l    A2, A0
  6868. 00004612  2008                     move.l     D0, A0
  6869. 00004614  671E                     beq        +0x20 /* 00004634 */
  6870. 00004616  2052                     movea.l    A0, [A2]
  6871. 00004618  2093                     move.l     [A0], [A3]
  6872. 0000461A  216B 0004 0004           move.l     [A0 + 0x4], [A3 + 0x4]
  6873. 00004620  3F3C 0080                move.w     -[A7], 0x80
  6874. 00004624  2F3C 574C 4F43           move.l     -[A7], 0x574C4F43 /* 'WLOC' */
  6875. 0000462A  2F0A                     move.l     -[A7], A2
  6876. 0000462C  4EBA 020C                jsr        [PC + 0x20C /* 0000483A */]
  6877. 00004630  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6878. label00004634:
  6879. 00004634  3F03                     move.w     -[A7], D3
  6880. 00004636  A998                     syscall    UseResFile
  6881. 00004638  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  6882. 0000463C  4E75                     rts
  6883. 0000463E  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  6884. 00004642  3A2F 0020                move.w     D5, [A7 + 0x20]
  6885. 00004646  262F 0026                move.l     D3, [A7 + 0x26]
  6886. 0000464A  2C6F 002A                movea.l    A6, [A7 + 0x2A]
  6887. 0000464E  286F 002E                movea.l    A4, [A7 + 0x2E]
  6888. 00004652  246F 0032                movea.l    A2, [A7 + 0x32]
  6889. 00004656  200A                     move.l     D0, A2
  6890. 00004658  6702                     beq        +0x4 /* 0000465C */
  6891. 0000465A  4292                     clr.l      [A2]
  6892. label0000465C:
  6893. 0000465C  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  6894. 00004660  3F05                     move.w     -[A7], D5
  6895. 00004662  4EBA 0318                jsr        [PC + 0x318 /* 0000497C */]
  6896. 00004666  2808                     move.l     D4, A0
  6897. 00004668  2008                     move.l     D0, A0
  6898. 0000466A  5C4F                     addq.w     A7, 6
  6899. 0000466C  6772                     beq        +0x74 /* 000046E0 */
  6900. 0000466E  2044                     movea.l    A0, D4
  6901. 00004670  2650                     movea.l    A3, [A0]
  6902. 00004672  2043                     movea.l    A0, D3
  6903. 00004674  20AB 0010                move.l     [A0], [A3 + 0x10]
  6904. 00004678  316B 0014 0004           move.w     [A0 + 0x4], [A3 + 0x14]
  6905. 0000467E  2CAB 0016                move.l     [A6], [A3 + 0x16]
  6906. 00004682  3D6B 001A 0004           move.w     [A6 + 0x4], [A3 + 0x1A]
  6907. 00004688  28AB 001C                move.l     [A4], [A3 + 0x1C]
  6908. 0000468C  396B 0020 0004           move.w     [A4 + 0x4], [A3 + 0x20]
  6909. 00004692  200A                     move.l     D0, A2
  6910. 00004694  677C                     beq        +0x7E /* 00004712 */
  6911. 00004696  4EAD DB08                jsr        [A5 - 0x24F8]
  6912. 0000469A  3600                     move.w     D3, D0
  6913. 0000469C  3F05                     move.w     -[A7], D5
  6914. 0000469E  4EAD DB0E                jsr        [A5 - 0x24F2]
  6915. 000046A2  302B 002A                move.w     D0, [A3 + 0x2A]
  6916. 000046A6  7201                     moveq.l    D1, 0x01
  6917. 000046A8  C081                     and.l      D0, D1
  6918. 000046AA  544F                     addq.w     A7, 2
  6919. 000046AC  6604                     bne        +0x6 /* 000046B2 */
  6920. 000046AE  4292                     clr.l      [A2]
  6921. 000046B0  6024                     bra        +0x26 /* 000046D6 */
  6922. label000046B2:
  6923. 000046B2  2F2B 0022                move.l     -[A7], [A3 + 0x22]
  6924. 000046B6  4878 0021                push.l     0x21 /* '!' */
  6925. 000046BA  4EAD DB26                jsr        [A5 - 0x24DA]
  6926. 000046BE  2488                     move.l     [A2], A0
  6927. 000046C0  2008                     move.l     D0, A0
  6928. 000046C2  504F                     addq.w     A7, 8
  6929. 000046C4  6710                     beq        +0x12 /* 000046D6 */
  6930. 000046C6  2052                     movea.l    A0, [A2]
  6931. 000046C8  A04A                     syscall    HNoPurge
  6932. 000046CA  4878 0021                push.l     0x21 /* '!' */
  6933. 000046CE  2F12                     move.l     -[A7], [A2]
  6934. 000046D0  4EAD DB2C                jsr        [A5 - 0x24D4]
  6935. 000046D4  504F                     addq.w     A7, 8
  6936. label000046D6:
  6937. 000046D6  3F03                     move.w     -[A7], D3
  6938. 000046D8  4EAD DB0E                jsr        [A5 - 0x24F2]
  6939. 000046DC  544F                     addq.w     A7, 2
  6940. 000046DE  6032                     bra        +0x34 /* 00004712 */
  6941. label000046E0:
  6942. 000046E0  397C FFFF 0004           move.w     [A4 + 0x4], 0xFFFF
  6943. 000046E6  397C FFFF 0002           move.w     [A4 + 0x2], 0xFFFF
  6944. 000046EC  38BC FFFF                move.w     [A4], 0xFFFF
  6945. 000046F0  3D7C FFFF 0004           move.w     [A6 + 0x4], 0xFFFF
  6946. 000046F6  3D7C FFFF 0002           move.w     [A6 + 0x2], 0xFFFF
  6947. 000046FC  3CBC FFFF                move.w     [A6], 0xFFFF
  6948. 00004700  2043                     movea.l    A0, D3
  6949. 00004702  317C FFFF 0004           move.w     [A0 + 0x4], 0xFFFF
  6950. 00004708  317C FFFF 0002           move.w     [A0 + 0x2], 0xFFFF
  6951. 0000470E  30BC FFFF                move.w     [A0], 0xFFFF
  6952. label00004712:
  6953. 00004712  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  6954. 00004716  4E75                     rts
  6955. 00004718  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  6956. 0000471C  3C2F 001C                move.w     D6, [A7 + 0x1C]
  6957. 00004720  246F 001E                movea.l    A2, [A7 + 0x1E]
  6958. 00004724  4EAD DB08                jsr        [A5 - 0x24F8]
  6959. 00004728  3600                     move.w     D3, D0
  6960. 0000472A  3F06                     move.w     -[A7], D6
  6961. 0000472C  4EAD DB0E                jsr        [A5 - 0x24F2]
  6962. 00004730  4878 0027                push.l     0x27 /* '\'' */
  6963. 00004734  4EAD DB56                jsr        [A5 - 0x24AA]
  6964. 00004738  2A00                     move.l     D5, D0
  6965. 0000473A  5C4F                     addq.w     A7, 6
  6966. 0000473C  6748                     beq        +0x4A /* 00004786 */
  6967. 0000473E  200A                     move.l     D0, A2
  6968. 00004740  6606                     bne        +0x8 /* 00004748 */
  6969. 00004742  41ED B4CC                lea.l      A0, [A5 - 0x4B34]
  6970. 00004746  6002                     bra        +0x4 /* 0000474A */
  6971. label00004748:
  6972. 00004748  204A                     movea.l    A0, A2
  6973. label0000474A:
  6974. 0000474A  2648                     movea.l    A3, A0
  6975. 0000474C  7600                     moveq.l    D3, 0x00
  6976. 0000474E  6032                     bra        +0x34 /* 00004782 */
  6977. label00004750:
  6978. 00004750  2803                     move.l     D4, D3
  6979. 00004752  5284                     addq.l     D4, 1
  6980. 00004754  2F04                     move.l     -[A7], D4
  6981. 00004756  4878 0027                push.l     0x27 /* '\'' */
  6982. 0000475A  4EAD DB26                jsr        [A5 - 0x24DA]
  6983. 0000475E  2448                     movea.l    A2, A0
  6984. 00004760  2008                     move.l     D0, A0
  6985. 00004762  504F                     addq.w     A7, 8
  6986. 00004764  671A                     beq        +0x1C /* 00004780 */
  6987. 00004766  2052                     movea.l    A0, [A2]
  6988. 00004768  4868 002C                pea.l      [A0 + 0x2C]
  6989. 0000476C  2F0B                     move.l     -[A7], A3
  6990. 0000476E  4EAD DE10                jsr        [A5 - 0x21F0]
  6991. 00004772  4A80                     tst.l      D0
  6992. 00004774  504F                     addq.w     A7, 8
  6993. 00004776  6608                     bne        +0xA /* 00004780 */
  6994. 00004778  2004                     move.l     D0, D4
  6995. 0000477A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  6996. 0000477E  4E75                     rts
  6997. label00004780:
  6998. 00004780  5283                     addq.l     D3, 1
  6999. label00004782:
  7000. 00004782  B685                     cmp.l      D3, D5
  7001. 00004784  6DCA                     blt        -0x34 /* 00004750 */
  7002. label00004786:
  7003. 00004786  3F06                     move.w     -[A7], D6
  7004. 00004788  4EAD DB0E                jsr        [A5 - 0x24F2]
  7005. 0000478C  70FF                     moveq.l    D0, 0xFFFFFFFF
  7006. 0000478E  544F                     addq.w     A7, 2
  7007. 00004790  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  7008. 00004794  4E75                     rts
  7009. fn00004796:
  7010. 00004796  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  7011. 0000479A  382F 0014                move.w     D4, [A7 + 0x14]
  7012. 0000479E  246F 0016                movea.l    A2, [A7 + 0x16]
  7013. 000047A2  4EAD DB08                jsr        [A5 - 0x24F8]
  7014. 000047A6  3600                     move.w     D3, D0
  7015. 000047A8  3F04                     move.w     -[A7], D4
  7016. 000047AA  4EAD DB0E                jsr        [A5 - 0x24F2]
  7017. 000047AE  4878 0001                push.l     0x1
  7018. 000047B2  4878 004A                push.l     0x4A /* 'J' */
  7019. 000047B6  4EAD DB26                jsr        [A5 - 0x24DA]
  7020. 000047BA  2648                     movea.l    A3, A0
  7021. 000047BC  A9AF                     syscall    ResError
  7022. 000047BE  301F                     move.w     D0, [A7]+
  7023. 000047C0  3600                     move.w     D3, D0
  7024. 000047C2  200B                     move.l     D0, A3
  7025. 000047C4  504F                     addq.w     A7, 8
  7026. 000047C6  670E                     beq        +0x10 /* 000047D6 */
  7027. 000047C8  7600                     moveq.l    D3, 0x00
  7028. 000047CA  2053                     movea.l    A0, [A3]
  7029. 000047CC  2490                     move.l     [A2], [A0]
  7030. 000047CE  3568 0004 0004           move.w     [A2 + 0x4], [A0 + 0x4]
  7031. 000047D4  6012                     bra        +0x14 /* 000047E8 */
  7032. label000047D6:
  7033. 000047D6  0C43 FF40                cmpi.w     D3, 0xFF40
  7034. 000047DA  6602                     bne        +0x4 /* 000047DE */
  7035. 000047DC  7600                     moveq.l    D3, 0x00
  7036. label000047DE:
  7037. 000047DE  4252                     clr.w      [A2]
  7038. 000047E0  426A 0002                clr.w      [A2 + 0x2]
  7039. 000047E4  426A 0004                clr.w      [A2 + 0x4]
  7040. label000047E8:
  7041. 000047E8  3F04                     move.w     -[A7], D4
  7042. 000047EA  4EAD DB0E                jsr        [A5 - 0x24F2]
  7043. 000047EE  3003                     move.w     D0, D3
  7044. 000047F0  544F                     addq.w     A7, 2
  7045. 000047F2  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  7046. 000047F6  4E75                     rts
  7047. 000047F8  206F 0008                movea.l    A0, [A7 + 0x8]
  7048. 000047FC  7000                     moveq.l    D0, 0x00
  7049. 000047FE  3028 0004                move.w     D0, [A0 + 0x4]
  7050. 00004802  206F 0004                movea.l    A0, [A7 + 0x4]
  7051. 00004806  7200                     moveq.l    D1, 0x00
  7052. 00004808  3228 0004                move.w     D1, [A0 + 0x4]
  7053. 0000480C  9280                     sub.l      D1, D0
  7054. 0000480E  2001                     move.l     D0, D1
  7055. 00004810  4E75                     rts
  7056. 00004812  206F 0008                movea.l    A0, [A7 + 0x8]
  7057. 00004816  226F 0004                movea.l    A1, [A7 + 0x4]
  7058. 0000481A  2029 0006                move.l     D0, [A1 + 0x6]
  7059. 0000481E  B0A8 0006                cmp.l      D0, [A0 + 0x6]
  7060. 00004822  6604                     bne        +0x6 /* 00004828 */
  7061. 00004824  7000                     moveq.l    D0, 0x00
  7062. 00004826  4E75                     rts
  7063. label00004828:
  7064. 00004828  2029 0006                move.l     D0, [A1 + 0x6]
  7065. 0000482C  B0A8 0006                cmp.l      D0, [A0 + 0x6]
  7066. 00004830  6204                     bhi        +0x6 /* 00004836 */
  7067. 00004832  70FF                     moveq.l    D0, 0xFFFFFFFF
  7068. 00004834  6002                     bra        +0x4 /* 00004838 */
  7069. label00004836:
  7070. 00004836  7001                     moveq.l    D0, 0x01
  7071. label00004838:
  7072. 00004838  4E75                     rts
  7073. fn0000483A:
  7074. 0000483A  48E7 1020                movem.l    -[A7], D3,A2
  7075. 0000483E  246F 000C                movea.l    A2, [A7 + 0xC]
  7076. 00004842  2F0A                     move.l     -[A7], A2
  7077. 00004844  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  7078. 00004848  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  7079. 0000484C  486D B4D3                pea.l      [A5 - 0x4B2D]
  7080. 00004850  A9AB                     syscall    AddResource
  7081. 00004852  554F                     subq.w     A7, 2
  7082. 00004854  A9AF                     syscall    ResError
  7083. 00004856  301F                     move.w     D0, [A7]+
  7084. 00004858  3600                     move.w     D3, D0
  7085. 0000485A  6620                     bne        +0x22 /* 0000487C */
  7086. 0000485C  2F0A                     move.l     -[A7], A2
  7087. 0000485E  A9B0                     syscall    WriteResource
  7088. 00004860  554F                     subq.w     A7, 2
  7089. 00004862  A9AF                     syscall    ResError
  7090. 00004864  301F                     move.w     D0, [A7]+
  7091. 00004866  3600                     move.w     D3, D0
  7092. 00004868  6616                     bne        +0x18 /* 00004880 */
  7093. 0000486A  2F0A                     move.l     -[A7], A2
  7094. 0000486C  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  7095. 00004870  A9A7                     syscall    SetResAttrs
  7096. 00004872  554F                     subq.w     A7, 2
  7097. 00004874  A9AF                     syscall    ResError
  7098. 00004876  301F                     move.w     D0, [A7]+
  7099. 00004878  3600                     move.w     D3, D0
  7100. 0000487A  6004                     bra        +0x6 /* 00004880 */
  7101. label0000487C:
  7102. 0000487C  204A                     movea.l    A0, A2
  7103. 0000487E  A023                     syscall    DisposHandle/DisposeHandle
  7104. label00004880:
  7105. 00004880  3003                     move.w     D0, D3
  7106. 00004882  4CDF 0408                movem.l    D3,A2, [A7]+
  7107. 00004886  4E75                     rts
  7108. fn00004888:
  7109. 00004888  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  7110. 0000488C  266F 0022                movea.l    A3, [A7 + 0x22]
  7111. 00004890  2E2F 0026                move.l     D7, [A7 + 0x26]
  7112. 00004894  3C2F 002A                move.w     D6, [A7 + 0x2A]
  7113. 00004898  554F                     subq.w     A7, 2
  7114. 0000489A  A994                     syscall    CurResFile
  7115. 0000489C  301F                     move.w     D0, [A7]+
  7116. 0000489E  3A00                     move.w     D5, D0
  7117. 000048A0  3F2F 0020                move.w     -[A7], [A7 + 0x20]
  7118. 000048A4  A998                     syscall    UseResFile
  7119. 000048A6  594F                     subq.w     A7, 4
  7120. 000048A8  2F0B                     move.l     -[A7], A3
  7121. 000048AA  4EAD D9AC                jsr        [A5 - 0x2654]
  7122. 000048AE  201F                     move.l     D0, [A7]+
  7123. 000048B0  2800                     move.l     D4, D0
  7124. 000048B2  594F                     subq.w     A7, 4
  7125. 000048B4  2F07                     move.l     -[A7], D7
  7126. 000048B6  3F06                     move.w     -[A7], D6
  7127. 000048B8  A81F                     syscall    Get1Resource
  7128. 000048BA  205F                     movea.l    A0, [A7]+
  7129. 000048BC  2448                     movea.l    A2, A0
  7130. 000048BE  2008                     move.l     D0, A0
  7131. 000048C0  673C                     beq        +0x3E /* 000048FE */
  7132. 000048C2  204A                     movea.l    A0, A2
  7133. 000048C4  A04A                     syscall    HNoPurge
  7134. 000048C6  204A                     movea.l    A0, A2
  7135. 000048C8  2004                     move.l     D0, D4
  7136. 000048CA  A024                     syscall    SetHandleSize
  7137. 000048CC  554F                     subq.w     A7, 2
  7138. 000048CE  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  7139. 000048D2  301F                     move.w     D0, [A7]+
  7140. 000048D4  3600                     move.w     D3, D0
  7141. 000048D6  661C                     bne        +0x1E /* 000048F4 */
  7142. 000048D8  2053                     movea.l    A0, [A3]
  7143. 000048DA  2252                     movea.l    A1, [A2]
  7144. 000048DC  2004                     move.l     D0, D4
  7145. 000048DE  A02E                     syscall    BlockMove/BlockMoveData
  7146. 000048E0  2F0A                     move.l     -[A7], A2
  7147. 000048E2  A9AA                     syscall    ChangedResource
  7148. 000048E4  554F                     subq.w     A7, 2
  7149. 000048E6  A9AF                     syscall    ResError
  7150. 000048E8  301F                     move.w     D0, [A7]+
  7151. 000048EA  3600                     move.w     D3, D0
  7152. 000048EC  6606                     bne        +0x8 /* 000048F4 */
  7153. 000048EE  2F0A                     move.l     -[A7], A2
  7154. 000048F0  A9B0                     syscall    WriteResource
  7155. 000048F2  7600                     moveq.l    D3, 0x00
  7156. label000048F4:
  7157. 000048F4  204A                     movea.l    A0, A2
  7158. 000048F6  A049                     syscall    HPurge
  7159. 000048F8  204B                     movea.l    A0, A3
  7160. 000048FA  A023                     syscall    DisposHandle/DisposeHandle
  7161. 000048FC  6010                     bra        +0x12 /* 0000490E */
  7162. label000048FE:
  7163. 000048FE  3F06                     move.w     -[A7], D6
  7164. 00004900  2F07                     move.l     -[A7], D7
  7165. 00004902  2F0B                     move.l     -[A7], A3
  7166. 00004904  4EBA FF34                jsr        [PC - 0xCC /* 0000483A */]
  7167. 00004908  3600                     move.w     D3, D0
  7168. 0000490A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7169. label0000490E:
  7170. 0000490E  3F05                     move.w     -[A7], D5
  7171. 00004910  A998                     syscall    UseResFile
  7172. 00004912  3003                     move.w     D0, D3
  7173. 00004914  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  7174. 00004918  4E75                     rts
  7175. fn0000491A:
  7176. 0000491A  48E7 1820                movem.l    -[A7], D3,D4,A2
  7177. 0000491E  246F 0018                movea.l    A2, [A7 + 0x18]
  7178. 00004922  7600                     moveq.l    D3, 0x00
  7179. 00004924  554F                     subq.w     A7, 2
  7180. 00004926  A994                     syscall    CurResFile
  7181. 00004928  301F                     move.w     D0, [A7]+
  7182. 0000492A  3800                     move.w     D4, D0
  7183. 0000492C  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  7184. 00004930  A998                     syscall    UseResFile
  7185. 00004932  594F                     subq.w     A7, 4
  7186. 00004934  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  7187. 00004938  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  7188. 0000493C  A81F                     syscall    Get1Resource
  7189. 0000493E  205F                     movea.l    A0, [A7]+
  7190. 00004940  2488                     move.l     [A2], A0
  7191. 00004942  4A92                     tst.l      [A2]
  7192. 00004944  671A                     beq        +0x1C /* 00004960 */
  7193. 00004946  4AAF 001C                tst.l      [A7 + 0x1C]
  7194. 0000494A  6714                     beq        +0x16 /* 00004960 */
  7195. 0000494C  2052                     movea.l    A0, [A2]
  7196. 0000494E  A04A                     syscall    HNoPurge
  7197. 00004950  2F12                     move.l     -[A7], [A2]
  7198. 00004952  A992                     syscall    DetachResource
  7199. 00004954  554F                     subq.w     A7, 2
  7200. 00004956  A9AF                     syscall    ResError
  7201. 00004958  301F                     move.w     D0, [A7]+
  7202. 0000495A  3600                     move.w     D3, D0
  7203. 0000495C  6702                     beq        +0x4 /* 00004960 */
  7204. 0000495E  4292                     clr.l      [A2]
  7205. label00004960:
  7206. 00004960  3F04                     move.w     -[A7], D4
  7207. 00004962  A998                     syscall    UseResFile
  7208. 00004964  4A43                     tst.w      D3
  7209. 00004966  670C                     beq        +0xE /* 00004974 */
  7210. 00004968  0C43 FF40                cmpi.w     D3, 0xFF40
  7211. 0000496C  6706                     beq        +0x8 /* 00004974 */
  7212. 0000496E  3003                     move.w     D0, D3
  7213. 00004970  48C0                     ext.l      D0
  7214. 00004972  6002                     bra        +0x4 /* 00004976 */
  7215. label00004974:
  7216. 00004974  7000                     moveq.l    D0, 0x00
  7217. label00004976:
  7218. 00004976  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7219. 0000497A  4E75                     rts
  7220. fn0000497C:
  7221. 0000497C  48E7 1820                movem.l    -[A7], D3,D4,A2
  7222. 00004980  282F 0012                move.l     D4, [A7 + 0x12]
  7223. 00004984  7001                     moveq.l    D0, 0x01
  7224. 00004986  B880                     cmp.l      D4, D0
  7225. 00004988  6D2C                     blt        +0x2E /* 000049B6 */
  7226. 0000498A  4EAD DB08                jsr        [A5 - 0x24F8]
  7227. 0000498E  3600                     move.w     D3, D0
  7228. 00004990  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  7229. 00004994  4EAD DB0E                jsr        [A5 - 0x24F2]
  7230. 00004998  2F04                     move.l     -[A7], D4
  7231. 0000499A  4878 0027                push.l     0x27 /* '\'' */
  7232. 0000499E  4EAD DB26                jsr        [A5 - 0x24DA]
  7233. 000049A2  2448                     movea.l    A2, A0
  7234. 000049A4  3F03                     move.w     -[A7], D3
  7235. 000049A6  4EAD DB0E                jsr        [A5 - 0x24F2]
  7236. 000049AA  204A                     movea.l    A0, A2
  7237. 000049AC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7238. 000049B0  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7239. 000049B4  4E75                     rts
  7240. label000049B6:
  7241. 000049B6  91C8                     sub.l      A0, A0
  7242. 000049B8  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7243. 000049BC  4E75                     rts
  7244. fn000049BE:
  7245. 000049BE  2F03                     move.l     -[A7], D3
  7246. 000049C0  5D4F                     subq.w     A7, 6
  7247. 000049C2  362F 0012                move.w     D3, [A7 + 0x12]
  7248. 000049C6  4857                     pea.l      [A7]
  7249. 000049C8  3F03                     move.w     -[A7], D3
  7250. 000049CA  4EBA FDCA                jsr        [PC - 0x236 /* 00004796 */]
  7251. 000049CE  4A6F 000A                tst.w      [A7 + 0xA]
  7252. 000049D2  5C4F                     addq.w     A7, 6
  7253. 000049D4  6604                     bne        +0x6 /* 000049DA */
  7254. 000049D6  7604                     moveq.l    D3, 0x04
  7255. 000049D8  6002                     bra        +0x4 /* 000049DC */
  7256. label000049DA:
  7257. 000049DA  7601                     moveq.l    D3, 0x01
  7258. label000049DC:
  7259. 000049DC  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7260. 000049E0  3F03                     move.w     -[A7], D3
  7261. 000049E2  3F03                     move.w     -[A7], D3
  7262. 000049E4  A8A9                     syscall    InsetRect
  7263. 000049E6  5C4F                     addq.w     A7, 6
  7264. 000049E8  261F                     move.l     D3, [A7]+
  7265. 000049EA  4E75                     rts
  7266. fn000049EC:
  7267. 000049EC  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  7268. 000049F0  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  7269. 000049F4  246F 0020                movea.l    A2, [A7 + 0x20]
  7270. 000049F8  3F3C 0001                move.w     -[A7], 0x1
  7271. 000049FC  486D 1584                pea.l      [A5 + 0x1584]
  7272. 00004A00  486F 000A                pea.l      [A7 + 0xA]
  7273. 00004A04  4EAD DD18                jsr        [A5 - 0x22E8]
  7274. 00004A08  3A2F 0010                move.w     D5, [A7 + 0x10]
  7275. 00004A0C  48C5                     ext.l      D5
  7276. 00004A0E  362F 0014                move.w     D3, [A7 + 0x14]
  7277. 00004A12  48C3                     ext.l      D3
  7278. 00004A14  9685                     sub.l      D3, D5
  7279. 00004A16  302F 000E                move.w     D0, [A7 + 0xE]
  7280. 00004A1A  48C0                     ext.l      D0
  7281. 00004A1C  382F 0012                move.w     D4, [A7 + 0x12]
  7282. 00004A20  48C4                     ext.l      D4
  7283. 00004A22  9880                     sub.l      D4, D0
  7284. 00004A24  306A 0002                movea.w    A0, [A2 + 0x2]
  7285. 00004A28  3003                     move.w     D0, D3
  7286. 00004A2A  48C0                     ext.l      D0
  7287. 00004A2C  2208                     move.l     D1, A0
  7288. 00004A2E  4EAD D8F8                jsr        [A5 - 0x2708]
  7289. 00004A32  2200                     move.l     D1, D0
  7290. 00004A34  E081                     asr        D1, 8
  7291. 00004A36  E281                     asr        D1, 1
  7292. 00004A38  E089                     lsr        D1, 8
  7293. 00004A3A  E089                     lsr        D1, 8
  7294. 00004A3C  EC89                     lsr        D1, 6
  7295. 00004A3E  D280                     add.l      D1, D0
  7296. 00004A40  E081                     asr        D1, 8
  7297. 00004A42  E481                     asr        D1, 2
  7298. 00004A44  D285                     add.l      D1, D5
  7299. 00004A46  3541 0002                move.w     [A2 + 0x2], D1
  7300. 00004A4A  302F 0010                move.w     D0, [A7 + 0x10]
  7301. 00004A4E  48C0                     ext.l      D0
  7302. 00004A50  306A 0006                movea.w    A0, [A2 + 0x6]
  7303. 00004A54  3203                     move.w     D1, D3
  7304. 00004A56  48C1                     ext.l      D1
  7305. 00004A58  2F40 000A                move.l     [A7 + 0xA], D0
  7306. 00004A5C  2008                     move.l     D0, A0
  7307. 00004A5E  4EAD D8F8                jsr        [A5 - 0x2708]
  7308. 00004A62  2200                     move.l     D1, D0
  7309. 00004A64  E081                     asr        D1, 8
  7310. 00004A66  E281                     asr        D1, 1
  7311. 00004A68  E089                     lsr        D1, 8
  7312. 00004A6A  E089                     lsr        D1, 8
  7313. 00004A6C  EC89                     lsr        D1, 6
  7314. 00004A6E  D280                     add.l      D1, D0
  7315. 00004A70  E081                     asr        D1, 8
  7316. 00004A72  E481                     asr        D1, 2
  7317. 00004A74  D2AF 000A                add.l      D1, [A7 + 0xA]
  7318. 00004A78  3541 0006                move.w     [A2 + 0x6], D1
  7319. 00004A7C  302F 000E                move.w     D0, [A7 + 0xE]
  7320. 00004A80  48C0                     ext.l      D0
  7321. 00004A82  3052                     movea.w    A0, [A2]
  7322. 00004A84  3204                     move.w     D1, D4
  7323. 00004A86  48C1                     ext.l      D1
  7324. 00004A88  2F40 000A                move.l     [A7 + 0xA], D0
  7325. 00004A8C  2008                     move.l     D0, A0
  7326. 00004A8E  4EAD D8F8                jsr        [A5 - 0x2708]
  7327. 00004A92  2200                     move.l     D1, D0
  7328. 00004A94  E081                     asr        D1, 8
  7329. 00004A96  E281                     asr        D1, 1
  7330. 00004A98  E089                     lsr        D1, 8
  7331. 00004A9A  E089                     lsr        D1, 8
  7332. 00004A9C  EC89                     lsr        D1, 6
  7333. 00004A9E  D280                     add.l      D1, D0
  7334. 00004AA0  E081                     asr        D1, 8
  7335. 00004AA2  E481                     asr        D1, 2
  7336. 00004AA4  D2AF 000A                add.l      D1, [A7 + 0xA]
  7337. 00004AA8  3481                     move.w     [A2], D1
  7338. 00004AAA  302F 000E                move.w     D0, [A7 + 0xE]
  7339. 00004AAE  48C0                     ext.l      D0
  7340. 00004AB0  306A 0004                movea.w    A0, [A2 + 0x4]
  7341. 00004AB4  3204                     move.w     D1, D4
  7342. 00004AB6  48C1                     ext.l      D1
  7343. 00004AB8  2F40 000A                move.l     [A7 + 0xA], D0
  7344. 00004ABC  2008                     move.l     D0, A0
  7345. 00004ABE  4EAD D8F8                jsr        [A5 - 0x2708]
  7346. 00004AC2  2200                     move.l     D1, D0
  7347. 00004AC4  E081                     asr        D1, 8
  7348. 00004AC6  E281                     asr        D1, 1
  7349. 00004AC8  E089                     lsr        D1, 8
  7350. 00004ACA  E089                     lsr        D1, 8
  7351. 00004ACC  EC89                     lsr        D1, 6
  7352. 00004ACE  D280                     add.l      D1, D0
  7353. 00004AD0  E081                     asr        D1, 8
  7354. 00004AD2  E481                     asr        D1, 2
  7355. 00004AD4  D2AF 000A                add.l      D1, [A7 + 0xA]
  7356. 00004AD8  3541 0004                move.w     [A2 + 0x4], D1
  7357. 00004ADC  4AAF 0032                tst.l      [A7 + 0x32]
  7358. 00004AE0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7359. 00004AE4  670E                     beq        +0x10 /* 00004AF4 */
  7360. 00004AE6  3F2F 002C                move.w     -[A7], [A7 + 0x2C]
  7361. 00004AEA  2F0A                     move.l     -[A7], A2
  7362. 00004AEC  4EBA FED0                jsr        [PC - 0x130 /* 000049BE */]
  7363. 00004AF0  5C4F                     addq.w     A7, 6
  7364. 00004AF2  6012                     bra        +0x14 /* 00004B06 */
  7365. label00004AF4:
  7366. 00004AF4  3F3C 0001                move.w     -[A7], 0x1
  7367. 00004AF8  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  7368. 00004AFC  2F0A                     move.l     -[A7], A2
  7369. 00004AFE  4EAD DD20                jsr        [A5 - 0x22E0]
  7370. 00004B02  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7371. label00004B06:
  7372. 00004B06  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7373. 00004B0A  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  7374. 00004B0E  4E75                     rts
  7375. fn00004B10:
  7376. 00004B10  2F0A                     move.l     -[A7], A2
  7377. 00004B12  514F                     subq.w     A7, 8
  7378. 00004B14  246F 0010                movea.l    A2, [A7 + 0x10]
  7379. 00004B18  3F3C 0001                move.w     -[A7], 0x1
  7380. 00004B1C  486D 1584                pea.l      [A5 + 0x1584]
  7381. 00004B20  486F 0006                pea.l      [A7 + 0x6]
  7382. 00004B24  4EAD DD18                jsr        [A5 - 0x22E8]
  7383. 00004B28  4AAF 0022                tst.l      [A7 + 0x22]
  7384. 00004B2C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7385. 00004B30  6734                     beq        +0x36 /* 00004B66 */
  7386. 00004B32  2F0A                     move.l     -[A7], A2
  7387. 00004B34  4267                     clr.w      -[A7]
  7388. 00004B36  302D 1584                move.w     D0, [A5 + 0x1584]
  7389. 00004B3A  48C0                     ext.l      D0
  7390. 00004B3C  322F 0006                move.w     D1, [A7 + 0x6]
  7391. 00004B40  48C1                     ext.l      D1
  7392. 00004B42  9280                     sub.l      D1, D0
  7393. 00004B44  3F01                     move.w     -[A7], D1
  7394. 00004B46  A8A8                     syscall    OffsetRect
  7395. 00004B48  302A 0004                move.w     D0, [A2 + 0x4]
  7396. 00004B4C  B06F 0004                cmp.w      D0, [A7 + 0x4]
  7397. 00004B50  6F06                     ble        +0x8 /* 00004B58 */
  7398. 00004B52  356F 0004 0004           move.w     [A2 + 0x4], [A7 + 0x4]
  7399. label00004B58:
  7400. 00004B58  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  7401. 00004B5C  2F0A                     move.l     -[A7], A2
  7402. 00004B5E  4EBA FE5E                jsr        [PC - 0x1A2 /* 000049BE */]
  7403. 00004B62  5C4F                     addq.w     A7, 6
  7404. 00004B64  6046                     bra        +0x48 /* 00004BAC */
  7405. label00004B66:
  7406. 00004B66  3F3C 0001                move.w     -[A7], 0x1
  7407. 00004B6A  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  7408. 00004B6E  486F 0006                pea.l      [A7 + 0x6]
  7409. 00004B72  4EAD DD20                jsr        [A5 - 0x22E0]
  7410. 00004B76  302F 000C                move.w     D0, [A7 + 0xC]
  7411. 00004B7A  D16A 0002                add.w      [A2 + 0x2], D0
  7412. 00004B7E  302F 000A                move.w     D0, [A7 + 0xA]
  7413. 00004B82  D152                     add.w      [A2], D0
  7414. 00004B84  302F 0010                move.w     D0, [A7 + 0x10]
  7415. 00004B88  48C0                     ext.l      D0
  7416. 00004B8A  322D 158A                move.w     D1, [A5 + 0x158A /* export_685 */]
  7417. 00004B8E  48C1                     ext.l      D1
  7418. 00004B90  9280                     sub.l      D1, D0
  7419. 00004B92  936A 0006                sub.w      [A2 + 0x6], D1
  7420. 00004B96  302F 000E                move.w     D0, [A7 + 0xE]
  7421. 00004B9A  48C0                     ext.l      D0
  7422. 00004B9C  322D 1588                move.w     D1, [A5 + 0x1588]
  7423. 00004BA0  48C1                     ext.l      D1
  7424. 00004BA2  9280                     sub.l      D1, D0
  7425. 00004BA4  936A 0004                sub.w      [A2 + 0x4], D1
  7426. 00004BA8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7427. label00004BAC:
  7428. 00004BAC  504F                     addq.w     A7, 8
  7429. 00004BAE  245F                     movea.l    A2, [A7]+
  7430. 00004BB0  4E75                     rts
  7431. fn00004BB2:
  7432. 00004BB2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7433. 00004BB6  594F                     subq.w     A7, 4
  7434. 00004BB8  286F 002C                movea.l    A4, [A7 + 0x2C]
  7435. 00004BBC  2E2F 0030                move.l     D7, [A7 + 0x30]
  7436. 00004BC0  162F 0034                move.b     D3, [A7 + 0x34]
  7437. 00004BC4  4A87                     tst.l      D7
  7438. 00004BC6  670C                     beq        +0xE /* 00004BD4 */
  7439. 00004BC8  594F                     subq.w     A7, 4
  7440. 00004BCA  2F07                     move.l     -[A7], D7
  7441. 00004BCC  4EAD D9AC                jsr        [A5 - 0x2654]
  7442. 00004BD0  201F                     move.l     D0, [A7]+
  7443. 00004BD2  6608                     bne        +0xA /* 00004BDC */
  7444. label00004BD4:
  7445. 00004BD4  584F                     addq.w     A7, 4
  7446. 00004BD6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7447. 00004BDA  4E75                     rts
  7448. label00004BDC:
  7449. 00004BDC  594F                     subq.w     A7, 4
  7450. 00004BDE  2F07                     move.l     -[A7], D7
  7451. 00004BE0  4EAD D9AC                jsr        [A5 - 0x2654]
  7452. 00004BE4  201F                     move.l     D0, [A7]+
  7453. 00004BE6  E488                     lsr        D0, 2
  7454. 00004BE8  2C00                     move.l     D6, D0
  7455. 00004BEA  2F07                     move.l     -[A7], D7
  7456. 00004BEC  4EAD DD80                jsr        [A5 - 0x2280]
  7457. 00004BF0  2808                     move.l     D4, A0
  7458. 00004BF2  7A00                     moveq.l    D5, 0x00
  7459. 00004BF4  584F                     addq.w     A7, 4
  7460. 00004BF6  607A                     bra        +0x7C /* 00004C72 */
  7461. label00004BF8:
  7462. 00004BF8  2044                     movea.l    A0, D4
  7463. 00004BFA  2010                     move.l     D0, [A0]
  7464. 00004BFC  5280                     addq.l     D0, 1
  7465. 00004BFE  2F00                     move.l     -[A7], D0
  7466. 00004C00  4878 0009                push.l     0x9 /* '\t' */
  7467. 00004C04  4EAD DB26                jsr        [A5 - 0x24DA]
  7468. 00004C08  2C48                     movea.l    A6, A0
  7469. 00004C0A  2008                     move.l     D0, A0
  7470. 00004C0C  504F                     addq.w     A7, 8
  7471. 00004C0E  675E                     beq        +0x60 /* 00004C6E */
  7472. 00004C10  2F0E                     move.l     -[A7], A6
  7473. 00004C12  4EAD DD80                jsr        [A5 - 0x2280]
  7474. 00004C16  2448                     movea.l    A2, A0
  7475. 00004C18  2F0E                     move.l     -[A7], A6
  7476. 00004C1A  4EAD D9AC                jsr        [A5 - 0x2654]
  7477. 00004C1E  201F                     move.l     D0, [A7]+
  7478. 00004C20  204A                     movea.l    A0, A2
  7479. 00004C22  D1C0                     add.l      A0, D0
  7480. 00004C24  2648                     movea.l    A3, A0
  7481. 00004C26  204A                     movea.l    A0, A2
  7482. 00004C28  70FF                     moveq.l    D0, 0xFFFFFFFF
  7483. label00004C2A:
  7484. 00004C2A  5280                     addq.l     D0, 1
  7485. 00004C2C  4A18                     tst.b      [A0]+
  7486. 00004C2E  66FA                     bne        -0x4 /* 00004C2A */
  7487. 00004C30  5280                     addq.l     D0, 1
  7488. 00004C32  D5C0                     add.l      A2, D0
  7489. 00004C34  B5CB                     cmpa.l     A2, A3
  7490. 00004C36  6528                     bcs        +0x2A /* 00004C60 */
  7491. 00004C38  2F0E                     move.l     -[A7], A6
  7492. 00004C3A  4EAD DD88                jsr        [A5 - 0x2278]
  7493. 00004C3E  584F                     addq.w     A7, 4
  7494. 00004C40  602C                     bra        +0x2E /* 00004C6E */
  7495. label00004C42:
  7496. 00004C42  B61A                     cmp.b      D3, [A2]+
  7497. 00004C44  6618                     bne        +0x1A /* 00004C5E */
  7498. 00004C46  204A                     movea.l    A0, A2
  7499. 00004C48  43D7                     lea.l      A1, [A7]
  7500. 00004C4A  7004                     moveq.l    D0, 0x04
  7501. 00004C4C  A02E                     syscall    BlockMove/BlockMoveData
  7502. 00004C4E  2F17                     move.l     -[A7], [A7]
  7503. 00004C50  4227                     clr.b      -[A7]
  7504. 00004C52  42A7                     clr.l      -[A7]
  7505. 00004C54  2F0C                     move.l     -[A7], A4
  7506. 00004C56  4EAD E978                jsr        [A5 - 0x1688]
  7507. 00004C5A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7508. label00004C5E:
  7509. 00004C5E  588A                     addq.l     A2, 4
  7510. label00004C60:
  7511. 00004C60  B5CB                     cmpa.l     A2, A3
  7512. 00004C62  65DE                     bcs        -0x20 /* 00004C42 */
  7513. 00004C64  2F0E                     move.l     -[A7], A6
  7514. 00004C66  4EAD DD88                jsr        [A5 - 0x2278]
  7515. 00004C6A  584F                     addq.w     A7, 4
  7516. 00004C6C  6008                     bra        +0xA /* 00004C76 */
  7517. label00004C6E:
  7518. 00004C6E  5285                     addq.l     D5, 1
  7519. 00004C70  5884                     addq.l     D4, 4
  7520. label00004C72:
  7521. 00004C72  BA86                     cmp.l      D5, D6
  7522. 00004C74  6D82                     blt        -0x7C /* 00004BF8 */
  7523. label00004C76:
  7524. 00004C76  2F07                     move.l     -[A7], D7
  7525. 00004C78  4EAD DD88                jsr        [A5 - 0x2278]
  7526. 00004C7C  504F                     addq.w     A7, 8
  7527. 00004C7E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7528. 00004C82  4E75                     rts
  7529. fn00004C84:
  7530. 00004C84  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  7531. 00004C88  4FEF FD40                lea.l      A7, [A7 - 0x2C0]
  7532. 00004C8C  246F 02D8                movea.l    A2, [A7 + 0x2D8]
  7533. 00004C90  7800                     moveq.l    D4, 0x00
  7534. 00004C92  42A7                     clr.l      -[A7]
  7535. 00004C94  2F0A                     move.l     -[A7], A2
  7536. 00004C96  4EBA DFFA                jsr        [PC - 0x2006 /* 00002C92 */]
  7537. 00004C9A  7601                     moveq.l    D3, 0x01
  7538. 00004C9C  504F                     addq.w     A7, 8
  7539. 00004C9E  6000 00D2                bra        +0xD4 /* 00004D72 */
  7540. label00004CA2:
  7541. 00004CA2  7004                     moveq.l    D0, 0x04
  7542. 00004CA4  B680                     cmp.l      D3, D0
  7543. 00004CA6  6700 00C8                beq        +0xCA /* 00004D70 */
  7544. 00004CAA  4AAD 8A16                tst.l      [A5 - 0x75EA]
  7545. 00004CAE  660C                     bne        +0xE /* 00004CBC */
  7546. 00004CB0  2003                     move.l     D0, D3
  7547. 00004CB2  ED88                     lsl        D0, 6
  7548. 00004CB4  41EF 0100                lea.l      A0, [A7 + 0x100]
  7549. 00004CB8  D1C0                     add.l      A0, D0
  7550. 00004CBA  6002                     bra        +0x4 /* 00004CBE */
  7551. label00004CBC:
  7552. 00004CBC  91C8                     sub.l      A0, A0
  7553. label00004CBE:
  7554. 00004CBE  2648                     movea.l    A3, A0
  7555. 00004CC0  2F0B                     move.l     -[A7], A3
  7556. 00004CC2  7032                     moveq.l    D0, 0x32
  7557. 00004CC4  D083                     add.l      D0, D3
  7558. 00004CC6  3F00                     move.w     -[A7], D0
  7559. 00004CC8  3F03                     move.w     -[A7], D3
  7560. 00004CCA  2F0A                     move.l     -[A7], A2
  7561. 00004CCC  4EBA D670                jsr        [PC - 0x2990 /* 0000233E */]
  7562. 00004CD0  3800                     move.w     D4, D0
  7563. 00004CD2  4A44                     tst.w      D4
  7564. 00004CD4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7565. 00004CD8  6600 00A0                bne        +0xA2 /* 00004D7A */
  7566. 00004CDC  2003                     move.l     D0, D3
  7567. 00004CDE  5380                     subq.l     D0, 1
  7568. 00004CE0  670C                     beq        +0xE /* 00004CEE */
  7569. 00004CE2  5980                     subq.l     D0, 4
  7570. 00004CE4  6758                     beq        +0x5A /* 00004D3E */
  7571. 00004CE6  5380                     subq.l     D0, 1
  7572. 00004CE8  676E                     beq        +0x70 /* 00004D58 */
  7573. 00004CEA  6000 0084                bra        +0x86 /* 00004D70 */
  7574. label00004CEE:
  7575. 00004CEE  4AAD 8A16                tst.l      [A5 - 0x75EA]
  7576. 00004CF2  6606                     bne        +0x8 /* 00004CFA */
  7577. 00004CF4  206F 0140                movea.l    A0, [A7 + 0x140]
  7578. 00004CF8  6004                     bra        +0x6 /* 00004CFE */
  7579. label00004CFA:
  7580. 00004CFA  206D 8862                movea.l    A0, [A5 - 0x779E]
  7581. label00004CFE:
  7582. 00004CFE  2648                     movea.l    A3, A0
  7583. 00004D00  4227                     clr.b      -[A7]
  7584. 00004D02  2F0B                     move.l     -[A7], A3
  7585. 00004D04  2F0A                     move.l     -[A7], A2
  7586. 00004D06  4EBA D92A                jsr        [PC - 0x26D6 /* 00002632 */]
  7587. 00004D0A  4AAD 8A1A                tst.l      [A5 - 0x75E6]
  7588. 00004D0E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7589. 00004D12  665C                     bne        +0x5E /* 00004D70 */
  7590. 00004D14  2F0B                     move.l     -[A7], A3
  7591. 00004D16  2F0A                     move.l     -[A7], A2
  7592. 00004D18  4EBA DCEA                jsr        [PC - 0x2316 /* 00002A04 */]
  7593. 00004D1C  2848                     movea.l    A4, A0
  7594. 00004D1E  200C                     move.l     D0, A4
  7595. 00004D20  504F                     addq.w     A7, 8
  7596. 00004D22  674C                     beq        +0x4E /* 00004D70 */
  7597. 00004D24  4857                     pea.l      [A7]
  7598. 00004D26  2F3C 000B 0081           move.l     -[A7], 0xB0081
  7599. 00004D2C  4EAD DA4E                jsr        [A5 - 0x25B2]
  7600. 00004D30  2F0C                     move.l     -[A7], A4
  7601. 00004D32  486F 0004                pea.l      [A7 + 0x4]
  7602. 00004D36  3F3C 0001                move.w     -[A7], 0x1
  7603. 00004D3A  A826                     syscall    InsertMenuItem/InsMenuItem
  7604. 00004D3C  6032                     bra        +0x34 /* 00004D70 */
  7605. label00004D3E:
  7606. 00004D3E  4AAD 8A16                tst.l      [A5 - 0x75EA]
  7607. 00004D42  672C                     beq        +0x2E /* 00004D70 */
  7608. 00004D44  1F3C 0001                move.b     -[A7], 0x1
  7609. 00004D48  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  7610. 00004D4C  2F0A                     move.l     -[A7], A2
  7611. 00004D4E  4EBA D8E2                jsr        [PC - 0x271E /* 00002632 */]
  7612. 00004D52  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7613. 00004D56  6018                     bra        +0x1A /* 00004D70 */
  7614. label00004D58:
  7615. 00004D58  4AAD 8A16                tst.l      [A5 - 0x75EA]
  7616. 00004D5C  6712                     beq        +0x14 /* 00004D70 */
  7617. 00004D5E  1F3C 0001                move.b     -[A7], 0x1
  7618. 00004D62  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  7619. 00004D66  2F0A                     move.l     -[A7], A2
  7620. 00004D68  4EBA D8C8                jsr        [PC - 0x2738 /* 00002632 */]
  7621. 00004D6C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7622. label00004D70:
  7623. 00004D70  5283                     addq.l     D3, 1
  7624. label00004D72:
  7625. 00004D72  7006                     moveq.l    D0, 0x06
  7626. 00004D74  B680                     cmp.l      D3, D0
  7627. 00004D76  6F00 FF2A                ble        -0xD4 /* 00004CA2 */
  7628. label00004D7A:
  7629. 00004D7A  4AAD 8A16                tst.l      [A5 - 0x75EA]
  7630. 00004D7E  660A                     bne        +0xC /* 00004D8A */
  7631. 00004D80  486F 0100                pea.l      [A7 + 0x100]
  7632. 00004D84  4EBA CA14                jsr        [PC - 0x35EC /* 0000179A */]
  7633. 00004D88  584F                     addq.w     A7, 4
  7634. label00004D8A:
  7635. 00004D8A  7001                     moveq.l    D0, 0x01
  7636. 00004D8C  2B40 8A16                move.l     [A5 - 0x75EA], D0
  7637. 00004D90  3004                     move.w     D0, D4
  7638. 00004D92  4FEF 02C0                lea.l      A7, [A7 + 0x2C0]
  7639. 00004D96  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  7640. 00004D9A  4E75                     rts
  7641. fn00004D9C:
  7642. 00004D9C  48E7 0030                movem.l    -[A7], A2,A3
  7643. 00004DA0  266F 000C                movea.l    A3, [A7 + 0xC]
  7644. 00004DA4  594F                     subq.w     A7, 4
  7645. 00004DA6  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7646. 00004DAA  4E90                     jsr        [A0]
  7647. 00004DAC  205F                     movea.l    A0, [A7]+
  7648. 00004DAE  2448                     movea.l    A2, A0
  7649. 00004DB0  6024                     bra        +0x26 /* 00004DD6 */
  7650. label00004DB2:
  7651. 00004DB2  302A 006C                move.w     D0, [A2 + 0x6C]
  7652. 00004DB6  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7653. 00004DBA  6616                     bne        +0x18 /* 00004DD2 */
  7654. 00004DBC  2F0B                     move.l     -[A7], A3
  7655. 00004DBE  2F0A                     move.l     -[A7], A2
  7656. 00004DC0  4EAD E810                jsr        [A5 - 0x17F0]
  7657. 00004DC4  4A80                     tst.l      D0
  7658. 00004DC6  504F                     addq.w     A7, 8
  7659. 00004DC8  6708                     beq        +0xA /* 00004DD2 */
  7660. 00004DCA  204A                     movea.l    A0, A2
  7661. 00004DCC  4CDF 0C00                movem.l    A2,A3, [A7]+
  7662. 00004DD0  4E75                     rts
  7663. label00004DD2:
  7664. 00004DD2  246A 0090                movea.l    A2, [A2 + 0x90]
  7665. label00004DD6:
  7666. 00004DD6  200A                     move.l     D0, A2
  7667. 00004DD8  66D8                     bne        -0x26 /* 00004DB2 */
  7668. 00004DDA  91C8                     sub.l      A0, A0
  7669. 00004DDC  4CDF 0C00                movem.l    A2,A3, [A7]+
  7670. 00004DE0  4E75                     rts
  7671. fn00004DE2:
  7672. 00004DE2  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  7673. 00004DE6  5D4F                     subq.w     A7, 6
  7674. 00004DE8  266F 0022                movea.l    A3, [A7 + 0x22]
  7675. 00004DEC  4EAD DB08                jsr        [A5 - 0x24F8]
  7676. 00004DF0  3A00                     move.w     D5, D0
  7677. 00004DF2  1F3C 0003                move.b     -[A7], 0x3
  7678. 00004DF6  486B 0006                pea.l      [A3 + 0x6]
  7679. 00004DFA  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  7680. 00004DFE  3F13                     move.w     -[A7], [A3]
  7681. 00004E00  4EAD DAF6                jsr        [A5 - 0x250A]
  7682. 00004E04  3800                     move.w     D4, D0
  7683. 00004E06  4EAD DB02                jsr        [A5 - 0x24FE]
  7684. 00004E0A  3600                     move.w     D3, D0
  7685. 00004E0C  4A43                     tst.w      D3
  7686. 00004E0E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7687. 00004E12  663A                     bne        +0x3C /* 00004E4E */
  7688. 00004E14  4878 0001                push.l     0x1
  7689. 00004E18  4878 003B                push.l     0x3B /* ';' */
  7690. 00004E1C  4EAD DB26                jsr        [A5 - 0x24DA]
  7691. 00004E20  2448                     movea.l    A2, A0
  7692. 00004E22  200A                     move.l     D0, A2
  7693. 00004E24  504F                     addq.w     A7, 8
  7694. 00004E26  671A                     beq        +0x1C /* 00004E42 */
  7695. 00004E28  2052                     movea.l    A0, [A2]
  7696. 00004E2A  0C90 0001 0012           cmpi.l     [A0], 0x10012
  7697. 00004E30  670C                     beq        +0xE /* 00004E3E */
  7698. 00004E32  2052                     movea.l    A0, [A2]
  7699. 00004E34  0C90 0801 0012           cmpi.l     [A0], 0x8010012
  7700. 00004E3A  6606                     bne        +0x8 /* 00004E42 */
  7701. 00004E3C  2E80                     move.l     [A7], D0
  7702. label00004E3E:
  7703. 00004E3E  7000                     moveq.l    D0, 0x00
  7704. 00004E40  6002                     bra        +0x4 /* 00004E44 */
  7705. label00004E42:
  7706. 00004E42  7001                     moveq.l    D0, 0x01
  7707. label00004E44:
  7708. 00004E44  2C00                     move.l     D6, D0
  7709. 00004E46  4A86                     tst.l      D6
  7710. 00004E48  6704                     beq        +0x6 /* 00004E4E */
  7711. 00004E4A  363C FF39                move.w     D3, 0xFF39
  7712. label00004E4E:
  7713. 00004E4E  3F05                     move.w     -[A7], D5
  7714. 00004E50  4EAD DB0E                jsr        [A5 - 0x24F2]
  7715. 00004E54  4A43                     tst.w      D3
  7716. 00004E56  544F                     addq.w     A7, 2
  7717. 00004E58  673C                     beq        +0x3E /* 00004E96 */
  7718. 00004E5A  0C43 FF39                cmpi.w     D3, 0xFF39
  7719. 00004E5E  6620                     bne        +0x22 /* 00004E80 */
  7720. 00004E60  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  7721. 00004E64  A9C8                     syscall    SysBeep
  7722. 00004E66  42A7                     clr.l      -[A7]
  7723. 00004E68  42A7                     clr.l      -[A7]
  7724. 00004E6A  42A7                     clr.l      -[A7]
  7725. 00004E6C  3F3C 0089                move.w     -[A7], 0x89
  7726. 00004E70  4EAD DEB0                jsr        [A5 - 0x2150]
  7727. 00004E74  3F04                     move.w     -[A7], D4
  7728. 00004E76  4EAD DAFC                jsr        [A5 - 0x2504]
  7729. 00004E7A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7730. 00004E7E  600C                     bra        +0xE /* 00004E8C */
  7731. label00004E80:
  7732. 00004E80  3F03                     move.w     -[A7], D3
  7733. 00004E82  486B 0006                pea.l      [A3 + 0x6]
  7734. 00004E86  4EAD DE90                jsr        [A5 - 0x2170]
  7735. 00004E8A  5C4F                     addq.w     A7, 6
  7736. label00004E8C:
  7737. 00004E8C  3003                     move.w     D0, D3
  7738. 00004E8E  5C4F                     addq.w     A7, 6
  7739. 00004E90  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  7740. 00004E94  4E75                     rts
  7741. label00004E96:
  7742. 00004E96  486F 0004                pea.l      [A7 + 0x4]
  7743. 00004E9A  2F0B                     move.l     -[A7], A3
  7744. 00004E9C  4EBA 0962                jsr        [PC + 0x962 /* 00005800 */]
  7745. 00004EA0  4A40                     tst.w      D0
  7746. 00004EA2  504F                     addq.w     A7, 8
  7747. 00004EA4  6718                     beq        +0x1A /* 00004EBE */
  7748. 00004EA6  3F7C FFFF 0004           move.w     [A7 + 0x4], 0xFFFF
  7749. 00004EAC  42A7                     clr.l      -[A7]
  7750. 00004EAE  42A7                     clr.l      -[A7]
  7751. 00004EB0  42A7                     clr.l      -[A7]
  7752. 00004EB2  3F3C 008B                move.w     -[A7], 0x8B
  7753. 00004EB6  4EAD DEB0                jsr        [A5 - 0x2150]
  7754. 00004EBA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7755. label00004EBE:
  7756. 00004EBE  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  7757. 00004EC2  3F04                     move.w     -[A7], D4
  7758. 00004EC4  2F0B                     move.l     -[A7], A3
  7759. 00004EC6  4EAD E6F8                jsr        [A5 - 0x1908]
  7760. 00004ECA  3600                     move.w     D3, D0
  7761. 00004ECC  4A43                     tst.w      D3
  7762. 00004ECE  504F                     addq.w     A7, 8
  7763. 00004ED0  6714                     beq        +0x16 /* 00004EE6 */
  7764. 00004ED2  3F04                     move.w     -[A7], D4
  7765. 00004ED4  4EAD DAFC                jsr        [A5 - 0x2504]
  7766. 00004ED8  3F03                     move.w     -[A7], D3
  7767. 00004EDA  3F3C 0002                move.w     -[A7], 0x2
  7768. 00004EDE  4EAD DE98                jsr        [A5 - 0x2168]
  7769. 00004EE2  5C4F                     addq.w     A7, 6
  7770. 00004EE4  600E                     bra        +0x10 /* 00004EF4 */
  7771. label00004EE6:
  7772. 00004EE6  206F 0026                movea.l    A0, [A7 + 0x26]
  7773. 00004EEA  3084                     move.w     [A0], D4
  7774. 00004EEC  206F 002A                movea.l    A0, [A7 + 0x2A]
  7775. 00004EF0  30AF 0004                move.w     [A0], [A7 + 0x4]
  7776. label00004EF4:
  7777. 00004EF4  3003                     move.w     D0, D3
  7778. 00004EF6  5C4F                     addq.w     A7, 6
  7779. 00004EF8  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  7780. 00004EFC  4E75                     rts
  7781. fn00004EFE:
  7782. 00004EFE  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  7783. 00004F02  266F 0018                movea.l    A3, [A7 + 0x18]
  7784. 00004F06  3A2F 001C                move.w     D5, [A7 + 0x1C]
  7785. 00004F0A  282F 0024                move.l     D4, [A7 + 0x24]
  7786. 00004F0E  4A84                     tst.l      D4
  7787. 00004F10  6704                     beq        +0x6 /* 00004F16 */
  7788. 00004F12  7600                     moveq.l    D3, 0x00
  7789. 00004F14  6002                     bra        +0x4 /* 00004F18 */
  7790. label00004F16:
  7791. 00004F16  7605                     moveq.l    D3, 0x05
  7792. label00004F18:
  7793. 00004F18  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  7794. 00004F1C  2F04                     move.l     -[A7], D4
  7795. 00004F1E  42A7                     clr.l      -[A7]
  7796. 00004F20  42A7                     clr.l      -[A7]
  7797. 00004F22  1F03                     move.b     -[A7], D3
  7798. 00004F24  3F2F 0030                move.w     -[A7], [A7 + 0x30]
  7799. 00004F28  3F05                     move.w     -[A7], D5
  7800. 00004F2A  486B 0006                pea.l      [A3 + 0x6]
  7801. 00004F2E  2F0B                     move.l     -[A7], A3
  7802. 00004F30  4EAD E778                jsr        [A5 - 0x1888]
  7803. 00004F34  2448                     movea.l    A2, A0
  7804. 00004F36  200A                     move.l     D0, A2
  7805. 00004F38  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  7806. 00004F3C  6700 0082                beq        +0x84 /* 00004FC0 */
  7807. 00004F40  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  7808. 00004F44  2F0A                     move.l     -[A7], A2
  7809. 00004F46  4EAD E770                jsr        [A5 - 0x1890]
  7810. 00004F4A  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7811. 00004F4E  504F                     addq.w     A7, 8
  7812. 00004F50  670C                     beq        +0xE /* 00004F5E */
  7813. 00004F52  3F05                     move.w     -[A7], D5
  7814. 00004F54  4EAD FF48                jsr        [A5 - 0xB8]
  7815. 00004F58  4A80                     tst.l      D0
  7816. 00004F5A  544F                     addq.w     A7, 2
  7817. 00004F5C  6644                     bne        +0x46 /* 00004FA2 */
  7818. label00004F5E:
  7819. 00004F5E  594F                     subq.w     A7, 4
  7820. 00004F60  2F3C 434E 4647           move.l     -[A7], 0x434E4647 /* 'CNFG' */
  7821. 00004F66  3F3C 0001                move.w     -[A7], 0x1
  7822. 00004F6A  A80E                     syscall    Get1IndResource/Get1IxResource
  7823. 00004F6C  205F                     movea.l    A0, [A7]+
  7824. 00004F6E  2648                     movea.l    A3, A0
  7825. 00004F70  200B                     move.l     D0, A3
  7826. 00004F72  6718                     beq        +0x1A /* 00004F8C */
  7827. 00004F74  204B                     movea.l    A0, A3
  7828. 00004F76  A04A                     syscall    HNoPurge
  7829. 00004F78  42A7                     clr.l      -[A7]
  7830. 00004F7A  4227                     clr.b      -[A7]
  7831. 00004F7C  2F0B                     move.l     -[A7], A3
  7832. 00004F7E  2F0A                     move.l     -[A7], A2
  7833. 00004F80  4EAD E970                jsr        [A5 - 0x1690]
  7834. 00004F84  204B                     movea.l    A0, A3
  7835. 00004F86  A049                     syscall    HPurge
  7836. 00004F88  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7837. label00004F8C:
  7838. 00004F8C  4878 0001                push.l     0x1
  7839. 00004F90  4227                     clr.b      -[A7]
  7840. 00004F92  42A7                     clr.l      -[A7]
  7841. 00004F94  2F0A                     move.l     -[A7], A2
  7842. 00004F96  4EAD E970                jsr        [A5 - 0x1690]
  7843. 00004F9A  4EAD E968                jsr        [A5 - 0x1698]
  7844. 00004F9E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7845. label00004FA2:
  7846. 00004FA2  4AAF 0020                tst.l      [A7 + 0x20]
  7847. 00004FA6  6718                     beq        +0x1A /* 00004FC0 */
  7848. 00004FA8  2F0A                     move.l     -[A7], A2
  7849. 00004FAA  206D 133E                movea.l    A0, [A5 + 0x133E]
  7850. 00004FAE  4E90                     jsr        [A0]
  7851. 00004FB0  4A2A 006F                tst.b      [A2 + 0x6F]
  7852. 00004FB4  660A                     bne        +0xC /* 00004FC0 */
  7853. 00004FB6  42A7                     clr.l      -[A7]
  7854. 00004FB8  2F0A                     move.l     -[A7], A2
  7855. 00004FBA  4EAD E7D8                jsr        [A5 - 0x1828]
  7856. 00004FBE  504F                     addq.w     A7, 8
  7857. label00004FC0:
  7858. 00004FC0  204A                     movea.l    A0, A2
  7859. 00004FC2  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  7860. 00004FC6  4E75                     rts
  7861. fn00004FC8:
  7862. 00004FC8  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  7863. 00004FCC  4FEF FFA4                lea.l      A7, [A7 - 0x5C]
  7864. 00004FD0  286F 007C                movea.l    A4, [A7 + 0x7C]
  7865. 00004FD4  2C2F 0080                move.l     D6, [A7 + 0x80]
  7866. 00004FD8  2A2F 0084                move.l     D5, [A7 + 0x84]
  7867. 00004FDC  282F 0088                move.l     D4, [A7 + 0x88]
  7868. 00004FE0  266F 008C                movea.l    A3, [A7 + 0x8C]
  7869. 00004FE4  95CA                     sub.l      A2, A2
  7870. 00004FE6  7600                     moveq.l    D3, 0x00
  7871. 00004FE8  3F7C FFFF 005A           move.w     [A7 + 0x5A], 0xFFFF
  7872. 00004FEE  554F                     subq.w     A7, 2
  7873. 00004FF0  3F14                     move.w     -[A7], [A4]
  7874. 00004FF2  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  7875. 00004FF6  486C 0006                pea.l      [A4 + 0x6]
  7876. 00004FFA  486F 000E                pea.l      [A7 + 0xE]
  7877. 00004FFE  4EAD DA06                jsr        [A5 - 0x25FA]
  7878. 00005002  301F                     move.w     D0, [A7]+
  7879. 00005004  0CAF 414C 544D 0002      cmpi.l     [A7 + 0x2], 0x414C544D /* 'ALTM' */
  7880. 0000500C  6612                     bne        +0x14 /* 00005020 */
  7881. 0000500E  42A7                     clr.l      -[A7]
  7882. 00005010  2F0C                     move.l     -[A7], A4
  7883. 00005012  4EAD FDB0                jsr        [A5 - 0x250]
  7884. 00005016  4FEF 0064                lea.l      A7, [A7 + 0x64]
  7885. 0000501A  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  7886. 0000501E  4E75                     rts
  7887. label00005020:
  7888. 00005020  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7889. 00005024  6700 00A2                beq        +0xA4 /* 000050C8 */
  7890. 00005028  4AAD 1326                tst.l      [A5 + 0x1326]
  7891. 0000502C  6728                     beq        +0x2A /* 00005056 */
  7892. 0000502E  41D4                     lea.l      A0, [A4]
  7893. 00005030  43EF 0014                lea.l      A1, [A7 + 0x14]
  7894. 00005034  7010                     moveq.l    D0, 0x10
  7895. label00005036:
  7896. 00005036  22D8                     move.l     [A1]+, [A0]+
  7897. 00005038  51C8 FFFC                dbf        D0, -0x6 /* 00005036 */
  7898. 0000503C  32D8                     move.w     [A1]+, [A0]+
  7899. 0000503E  554F                     subq.w     A7, 2
  7900. 00005040  486F 0016                pea.l      [A7 + 0x16]
  7901. 00005044  1F3C 0001                move.b     -[A7], 0x1
  7902. 00005048  486F 0009                pea.l      [A7 + 0x9]
  7903. 0000504C  486F 000C                pea.l      [A7 + 0xC]
  7904. 00005050  700C                     moveq.l    D0, 0x0C
  7905. 00005052  A823                     syscall    AliasDispatch
  7906. 00005054  301F                     move.w     D0, [A7]+
  7907. label00005056:
  7908. 00005056  486F 0014                pea.l      [A7 + 0x14]
  7909. 0000505A  4EBA FD40                jsr        [PC - 0x2C0 /* 00004D9C */]
  7910. 0000505E  2448                     movea.l    A2, A0
  7911. 00005060  2008                     move.l     D0, A0
  7912. 00005062  584F                     addq.w     A7, 4
  7913. 00005064  6714                     beq        +0x16 /* 0000507A */
  7914. 00005066  2F0A                     move.l     -[A7], A2
  7915. 00005068  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  7916. 0000506C  4E90                     jsr        [A0]
  7917. 0000506E  204A                     movea.l    A0, A2
  7918. 00005070  4FEF 005C                lea.l      A7, [A7 + 0x5C]
  7919. 00005074  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  7920. 00005078  4E75                     rts
  7921. label0000507A:
  7922. 0000507A  594F                     subq.w     A7, 4
  7923. 0000507C  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7924. 00005080  4E90                     jsr        [A0]
  7925. 00005082  205F                     movea.l    A0, [A7]+
  7926. 00005084  2F08                     move.l     -[A7], A0
  7927. 00005086  4EAD FF18                jsr        [A5 - 0xE8]
  7928. 0000508A  486F 0016                pea.l      [A7 + 0x16]
  7929. 0000508E  486F 0062                pea.l      [A7 + 0x62]
  7930. 00005092  2F0C                     move.l     -[A7], A4
  7931. 00005094  4EAD E6F0                jsr        [A5 - 0x1910]
  7932. 00005098  4A80                     tst.l      D0
  7933. 0000509A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7934. 0000509E  671C                     beq        +0x1E /* 000050BC */
  7935. 000050A0  2F0B                     move.l     -[A7], A3
  7936. 000050A2  2F04                     move.l     -[A7], D4
  7937. 000050A4  2F05                     move.l     -[A7], D5
  7938. 000050A6  2F06                     move.l     -[A7], D6
  7939. 000050A8  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  7940. 000050AC  3F2F 006C                move.w     -[A7], [A7 + 0x6C]
  7941. 000050B0  2F0C                     move.l     -[A7], A4
  7942. 000050B2  4EBA FE4A                jsr        [PC - 0x1B6 /* 00004EFE */]
  7943. 000050B6  2448                     movea.l    A2, A0
  7944. 000050B8  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7945. label000050BC:
  7946. 000050BC  204A                     movea.l    A0, A2
  7947. 000050BE  4FEF 005C                lea.l      A7, [A7 + 0x5C]
  7948. 000050C2  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  7949. 000050C6  4E75                     rts
  7950. label000050C8:
  7951. 000050C8  486F 0014                pea.l      [A7 + 0x14]
  7952. 000050CC  2F0C                     move.l     -[A7], A4
  7953. 000050CE  4EBA 0454                jsr        [PC + 0x454 /* 00005524 */]
  7954. 000050D2  486F 001C                pea.l      [A7 + 0x1C]
  7955. 000050D6  4EBA FCC4                jsr        [PC - 0x33C /* 00004D9C */]
  7956. 000050DA  2448                     movea.l    A2, A0
  7957. 000050DC  2008                     move.l     D0, A0
  7958. 000050DE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7959. 000050E2  6714                     beq        +0x16 /* 000050F8 */
  7960. 000050E4  2F0A                     move.l     -[A7], A2
  7961. 000050E6  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  7962. 000050EA  4E90                     jsr        [A0]
  7963. 000050EC  204A                     movea.l    A0, A2
  7964. 000050EE  4FEF 005C                lea.l      A7, [A7 + 0x5C]
  7965. 000050F2  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  7966. 000050F6  4E75                     rts
  7967. label000050F8:
  7968. 000050F8  486F 0012                pea.l      [A7 + 0x12]
  7969. 000050FC  486F 005E                pea.l      [A7 + 0x5E]
  7970. 00005100  486F 001C                pea.l      [A7 + 0x1C]
  7971. 00005104  4EBA FCDC                jsr        [PC - 0x324 /* 00004DE2 */]
  7972. 00005108  3600                     move.w     D3, D0
  7973. 0000510A  4A43                     tst.w      D3
  7974. 0000510C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7975. 00005110  662E                     bne        +0x30 /* 00005140 */
  7976. 00005112  2F0B                     move.l     -[A7], A3
  7977. 00005114  2F04                     move.l     -[A7], D4
  7978. 00005116  2F05                     move.l     -[A7], D5
  7979. 00005118  2F06                     move.l     -[A7], D6
  7980. 0000511A  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  7981. 0000511E  3F2F 006C                move.w     -[A7], [A7 + 0x6C]
  7982. 00005122  486F 0028                pea.l      [A7 + 0x28]
  7983. 00005126  4EBA FDD6                jsr        [PC - 0x22A /* 00004EFE */]
  7984. 0000512A  2448                     movea.l    A2, A0
  7985. 0000512C  200A                     move.l     D0, A2
  7986. 0000512E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7987. 00005132  670C                     beq        +0xE /* 00005140 */
  7988. 00005134  204A                     movea.l    A0, A2
  7989. 00005136  4FEF 005C                lea.l      A7, [A7 + 0x5C]
  7990. 0000513A  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  7991. 0000513E  4E75                     rts
  7992. label00005140:
  7993. 00005140  302F 005A                move.w     D0, [A7 + 0x5A]
  7994. 00005144  48C0                     ext.l      D0
  7995. 00005146  4A80                     tst.l      D0
  7996. 00005148  6F12                     ble        +0x14 /* 0000515C */
  7997. 0000514A  3F2F 005A                move.w     -[A7], [A7 + 0x5A]
  7998. 0000514E  4EAD DAFC                jsr        [A5 - 0x2504]
  7999. 00005152  3F2F 005C                move.w     -[A7], [A7 + 0x5C]
  8000. 00005156  4EAD E700                jsr        [A5 - 0x1900]
  8001. 0000515A  584F                     addq.w     A7, 4
  8002. label0000515C:
  8003. 0000515C  91C8                     sub.l      A0, A0
  8004. 0000515E  4FEF 005C                lea.l      A7, [A7 + 0x5C]
  8005. 00005162  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  8006. 00005166  4E75                     rts
  8007. 00005168  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  8008. 0000516C  594F                     subq.w     A7, 4
  8009. 0000516E  2A2F 001C                move.l     D5, [A7 + 0x1C]
  8010. 00005172  3C2F 0020                move.w     D6, [A7 + 0x20]
  8011. 00005176  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  8012. 0000517A  670E                     beq        +0x10 /* 0000518A */
  8013. 0000517C  554F                     subq.w     A7, 2
  8014. 0000517E  2F05                     move.l     -[A7], D5
  8015. 00005180  7005                     moveq.l    D0, 0x05
  8016. 00005182  AA54                     syscall    TextServicesDispatch
  8017. 00005184  101F                     move.b     D0, [A7]+
  8018. 00005186  6600 00CC                bne        +0xCE /* 00005254 */
  8019. label0000518A:
  8020. 0000518A  3605                     move.w     D3, D5
  8021. 0000518C  2805                     move.l     D4, D5
  8022. 0000518E  7210                     moveq.l    D1, 0x10
  8023. 00005190  E2A4                     asr        D4, D1
  8024. 00005192  3003                     move.w     D0, D3
  8025. 00005194  48C0                     ext.l      D0
  8026. 00005196  7201                     moveq.l    D1, 0x01
  8027. 00005198  B081                     cmp.l      D0, D1
  8028. 0000519A  6D26                     blt        +0x28 /* 000051C2 */
  8029. 0000519C  3003                     move.w     D0, D3
  8030. 0000519E  48C0                     ext.l      D0
  8031. 000051A0  7206                     moveq.l    D1, 0x06
  8032. 000051A2  B081                     cmp.l      D0, D1
  8033. 000051A4  6E1C                     bgt        +0x1E /* 000051C2 */
  8034. 000051A6  554F                     subq.w     A7, 2
  8035. 000051A8  3003                     move.w     D0, D3
  8036. 000051AA  48C0                     ext.l      D0
  8037. 000051AC  5380                     subq.l     D0, 1
  8038. 000051AE  3F00                     move.w     -[A7], D0
  8039. 000051B0  A9C2                     syscall    SysEdit
  8040. 000051B2  101F                     move.b     D0, [A7]+
  8041. 000051B4  670C                     beq        +0xE /* 000051C2 */
  8042. 000051B6  4267                     clr.w      -[A7]
  8043. 000051B8  A938                     syscall    HiliteMenu
  8044. 000051BA  584F                     addq.w     A7, 4
  8045. 000051BC  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  8046. 000051C0  4E75                     rts
  8047. label000051C2:
  8048. 000051C2  4857                     pea.l      [A7]
  8049. 000051C4  486F 0006                pea.l      [A7 + 0x6]
  8050. 000051C8  4EBA 0092                jsr        [PC + 0x92 /* 0000525C */]
  8051. 000051CC  2448                     movea.l    A2, A0
  8052. 000051CE  200A                     move.l     D0, A2
  8053. 000051D0  504F                     addq.w     A7, 8
  8054. 000051D2  6710                     beq        +0x12 /* 000051E4 */
  8055. 000051D4  B857                     cmp.w      D4, [A7]
  8056. 000051D6  660C                     bne        +0xE /* 000051E4 */
  8057. 000051D8  B66F 0002                cmp.w      D3, [A7 + 0x2]
  8058. 000051DC  6606                     bne        +0x8 /* 000051E4 */
  8059. 000051DE  4EBA 0C32                jsr        [PC + 0xC32 /* 00005E12 */]
  8060. 000051E2  606C                     bra        +0x6E /* 00005250 */
  8061. label000051E4:
  8062. 000051E4  0C44 0001                cmpi.w     D4, 0x1
  8063. 000051E8  660C                     bne        +0xE /* 000051F6 */
  8064. 000051EA  3F06                     move.w     -[A7], D6
  8065. 000051EC  3F03                     move.w     -[A7], D3
  8066. 000051EE  4EBA 0B60                jsr        [PC + 0xB60 /* 00005D50 */]
  8067. 000051F2  584F                     addq.w     A7, 4
  8068. 000051F4  605A                     bra        +0x5C /* 00005250 */
  8069. label000051F6:
  8070. 000051F6  0C44 0002                cmpi.w     D4, 0x2
  8071. 000051FA  660A                     bne        +0xC /* 00005206 */
  8072. 000051FC  3F03                     move.w     -[A7], D3
  8073. 000051FE  4EBA 0BAA                jsr        [PC + 0xBAA /* 00005DAA */]
  8074. 00005202  544F                     addq.w     A7, 2
  8075. 00005204  604A                     bra        +0x4C /* 00005250 */
  8076. label00005206:
  8077. 00005206  B86D 1360                cmp.w      D4, [A5 + 0x1360]
  8078. 0000520A  6614                     bne        +0x16 /* 00005220 */
  8079. 0000520C  554F                     subq.w     A7, 2
  8080. 0000520E  3F03                     move.w     -[A7], D3
  8081. 00005210  A9C2                     syscall    SysEdit
  8082. 00005212  101F                     move.b     D0, [A7]+
  8083. 00005214  663A                     bne        +0x3C /* 00005250 */
  8084. 00005216  3F03                     move.w     -[A7], D3
  8085. 00005218  4EBA 0756                jsr        [PC + 0x756 /* 00005970 */]
  8086. 0000521C  544F                     addq.w     A7, 2
  8087. 0000521E  6030                     bra        +0x32 /* 00005250 */
  8088. label00005220:
  8089. 00005220  0C44 0005                cmpi.w     D4, 0x5
  8090. 00005224  6616                     bne        +0x18 /* 0000523C */
  8091. 00005226  3F03                     move.w     -[A7], D3
  8092. 00005228  594F                     subq.w     A7, 4
  8093. 0000522A  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  8094. 0000522E  4E90                     jsr        [A0]
  8095. 00005230  205F                     movea.l    A0, [A7]+
  8096. 00005232  2F08                     move.l     -[A7], A0
  8097. 00005234  4EAD E8F8                jsr        [A5 - 0x1708]
  8098. 00005238  5C4F                     addq.w     A7, 6
  8099. 0000523A  6014                     bra        +0x16 /* 00005250 */
  8100. label0000523C:
  8101. 0000523C  0C44 0006                cmpi.w     D4, 0x6
  8102. 00005240  660E                     bne        +0x10 /* 00005250 */
  8103. 00005242  3F06                     move.w     -[A7], D6
  8104. 00005244  3003                     move.w     D0, D3
  8105. 00005246  48C0                     ext.l      D0
  8106. 00005248  2F00                     move.l     -[A7], D0
  8107. 0000524A  4EBA 0A40                jsr        [PC + 0xA40 /* 00005C8C */]
  8108. 0000524E  5C4F                     addq.w     A7, 6
  8109. label00005250:
  8110. 00005250  4267                     clr.w      -[A7]
  8111. 00005252  A938                     syscall    HiliteMenu
  8112. label00005254:
  8113. 00005254  584F                     addq.w     A7, 4
  8114. 00005256  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  8115. 0000525A  4E75                     rts
  8116. fn0000525C:
  8117. 0000525C  2F0A                     move.l     -[A7], A2
  8118. 0000525E  246F 000C                movea.l    A2, [A7 + 0xC]
  8119. 00005262  4AAD 8A1A                tst.l      [A5 - 0x75E6]
  8120. 00005266  671C                     beq        +0x1E /* 00005284 */
  8121. 00005268  206F 0008                movea.l    A0, [A7 + 0x8]
  8122. 0000526C  30AD B4D6                move.w     [A0], [A5 - 0x4B2A]
  8123. 00005270  200A                     move.l     D0, A2
  8124. 00005272  6708                     beq        +0xA /* 0000527C */
  8125. 00005274  206D 8A1A                movea.l    A0, [A5 - 0x75E6]
  8126. 00005278  2050                     movea.l    A0, [A0]
  8127. 0000527A  3490                     move.w     [A2], [A0]
  8128. label0000527C:
  8129. 0000527C  206D 8A1A                movea.l    A0, [A5 - 0x75E6]
  8130. 00005280  245F                     movea.l    A2, [A7]+
  8131. 00005282  4E75                     rts
  8132. label00005284:
  8133. 00005284  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  8134. 00005288  42A7                     clr.l      -[A7]
  8135. 0000528A  4EBA D7F2                jsr        [PC - 0x280E /* 00002A7E */]
  8136. 0000528E  48C0                     ext.l      D0
  8137. 00005290  5280                     addq.l     D0, 1
  8138. 00005292  206F 0010                movea.l    A0, [A7 + 0x10]
  8139. 00005296  3080                     move.w     [A0], D0
  8140. 00005298  200A                     move.l     D0, A2
  8141. 0000529A  504F                     addq.w     A7, 8
  8142. 0000529C  6704                     beq        +0x6 /* 000052A2 */
  8143. 0000529E  34BC 0001                move.w     [A2], 0x1
  8144. label000052A2:
  8145. 000052A2  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  8146. 000052A6  42A7                     clr.l      -[A7]
  8147. 000052A8  4EBA D75A                jsr        [PC - 0x28A6 /* 00002A04 */]
  8148. 000052AC  504F                     addq.w     A7, 8
  8149. 000052AE  245F                     movea.l    A2, [A7]+
  8150. 000052B0  4E75                     rts
  8151. 000052B2  2F0A                     move.l     -[A7], A2
  8152. 000052B4  4EBA 0024                jsr        [PC + 0x24 /* 000052DA */]
  8153. 000052B8  4EBA CF54                jsr        [PC - 0x30AC /* 0000220E */]
  8154. 000052BC  2448                     movea.l    A2, A0
  8155. 000052BE  200A                     move.l     D0, A2
  8156. 000052C0  6710                     beq        +0x12 /* 000052D2 */
  8157. 000052C2  2F0A                     move.l     -[A7], A2
  8158. 000052C4  4EBA DA5A                jsr        [PC - 0x25A6 /* 00002D20 */]
  8159. 000052C8  2F0A                     move.l     -[A7], A2
  8160. 000052CA  4EBA F9B8                jsr        [PC - 0x648 /* 00004C84 */]
  8161. 000052CE  504F                     addq.w     A7, 8
  8162. 000052D0  4E71                     nop
  8163. label000052D2:
  8164. 000052D2  4EBA 09FA                jsr        [PC + 0x9FA /* 00005CCE */]
  8165. 000052D6  245F                     movea.l    A2, [A7]+
  8166. 000052D8  4E75                     rts
  8167. fn000052DA:
  8168. 000052DA  2F0A                     move.l     -[A7], A2
  8169. 000052DC  4FEF FEFC                lea.l      A7, [A7 - 0x104]
  8170. 000052E0  70FF                     moveq.l    D0, 0xFFFFFFFF
  8171. 000052E2  B0AD B4D4                cmp.l      D0, [A5 - 0x4B2C]
  8172. 000052E6  6600 00BE                bne        +0xC0 /* 000053A6 */
  8173. 000052EA  4AAD 8A1A                tst.l      [A5 - 0x75E6]
  8174. 000052EE  670C                     beq        +0xE /* 000052FC */
  8175. 000052F0  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8176. 000052F4  486D B4D8                pea.l      [A5 - 0x4B28]
  8177. 000052F8  A933                     syscall    AppendMenu
  8178. 000052FA  6062                     bra        +0x64 /* 0000535E */
  8179. label000052FC:
  8180. 000052FC  554F                     subq.w     A7, 2
  8181. 000052FE  2F3C 6865 6C70           move.l     -[A7], 0x68656C70 /* 'help' */
  8182. 00005304  486F 0006                pea.l      [A7 + 0x6]
  8183. 00005308  4EAD DA66                jsr        [A5 - 0x259A]
  8184. 0000530C  301F                     move.w     D0, [A7]+
  8185. 0000530E  664E                     bne        +0x50 /* 0000535E */
  8186. 00005310  554F                     subq.w     A7, 2
  8187. 00005312  486F 0002                pea.l      [A7 + 0x2]
  8188. 00005316  4878 001F                push.l     0x1F
  8189. 0000531A  A85D                     syscall    BitTst
  8190. 0000531C  101F                     move.b     D0, [A7]+
  8191. 0000531E  673E                     beq        +0x40 /* 0000535E */
  8192. 00005320  1F7C 0001 0004           move.b     [A7 + 0x4], 0x1
  8193. 00005326  1F7C 0014 0005           move.b     [A7 + 0x5], 0x14
  8194. 0000532C  594F                     subq.w     A7, 4
  8195. 0000532E  3F3C 0001                move.w     -[A7], 0x1
  8196. 00005332  486F 000A                pea.l      [A7 + 0xA]
  8197. 00005336  A931                     syscall    NewMenu
  8198. 00005338  205F                     movea.l    A0, [A7]+
  8199. 0000533A  2448                     movea.l    A2, A0
  8200. 0000533C  200A                     move.l     D0, A2
  8201. 0000533E  6710                     beq        +0x12 /* 00005350 */
  8202. 00005340  2F0A                     move.l     -[A7], A2
  8203. 00005342  4267                     clr.w      -[A7]
  8204. 00005344  A935                     syscall    InsertMenu
  8205. 00005346  3F3C 0001                move.w     -[A7], 0x1
  8206. 0000534A  A936                     syscall    DeleteMenu
  8207. 0000534C  2F0A                     move.l     -[A7], A2
  8208. 0000534E  A932                     syscall    DisposeMenu
  8209. label00005350:
  8210. 00005350  554F                     subq.w     A7, 2
  8211. 00005352  486D 8A1A                pea.l      [A5 - 0x75E6]
  8212. 00005356  303C 0200                move.w     D0, 0x200
  8213. 0000535A  A830                     syscall    Pack14
  8214. 0000535C  301F                     move.w     D0, [A7]+
  8215. label0000535E:
  8216. 0000535E  4AAD 8A1A                tst.l      [A5 - 0x75E6]
  8217. 00005362  6742                     beq        +0x44 /* 000053A6 */
  8218. 00005364  486F 0004                pea.l      [A7 + 0x4]
  8219. 00005368  2F3C 000B 0081           move.l     -[A7], 0xB0081
  8220. 0000536E  4EAD DA4E                jsr        [A5 - 0x25B2]
  8221. 00005372  4A2F 0004                tst.b      [A7 + 0x4]
  8222. 00005376  671C                     beq        +0x1E /* 00005394 */
  8223. 00005378  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8224. 0000537C  486F 0008                pea.l      [A7 + 0x8]
  8225. 00005380  A933                     syscall    AppendMenu
  8226. 00005382  554F                     subq.w     A7, 2
  8227. 00005384  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8228. 00005388  A950                     syscall    CountMItems
  8229. 0000538A  301F                     move.w     D0, [A7]+
  8230. 0000538C  48C0                     ext.l      D0
  8231. 0000538E  2B40 B4D4                move.l     [A5 - 0x4B2C], D0
  8232. 00005392  6012                     bra        +0x14 /* 000053A6 */
  8233. label00005394:
  8234. 00005394  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8235. 00005398  554F                     subq.w     A7, 2
  8236. 0000539A  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8237. 0000539E  A950                     syscall    CountMItems
  8238. 000053A0  301F                     move.w     D0, [A7]+
  8239. 000053A2  3F00                     move.w     -[A7], D0
  8240. 000053A4  A952                     syscall    DeleteMenuItem/DelMenuItem
  8241. label000053A6:
  8242. 000053A6  4FEF 0104                lea.l      A7, [A7 + 0x104]
  8243. 000053AA  245F                     movea.l    A2, [A7]+
  8244. 000053AC  4E75                     rts
  8245. 000053AE  4AAD 8A1A                tst.l      [A5 - 0x75E6]
  8246. 000053B2  6708                     beq        +0xA /* 000053BC */
  8247. 000053B4  70FF                     moveq.l    D0, 0xFFFFFFFF
  8248. 000053B6  B0AD B4D4                cmp.l      D0, [A5 - 0x4B2C]
  8249. 000053BA  6602                     bne        +0x4 /* 000053BE */
  8250. label000053BC:
  8251. 000053BC  4E75                     rts
  8252. label000053BE:
  8253. 000053BE  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8254. 000053C2  554F                     subq.w     A7, 2
  8255. 000053C4  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8256. 000053C8  A950                     syscall    CountMItems
  8257. 000053CA  301F                     move.w     D0, [A7]+
  8258. 000053CC  3F00                     move.w     -[A7], D0
  8259. 000053CE  A952                     syscall    DeleteMenuItem/DelMenuItem
  8260. 000053D0  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8261. 000053D4  554F                     subq.w     A7, 2
  8262. 000053D6  2F2D 8A1A                move.l     -[A7], [A5 - 0x75E6]
  8263. 000053DA  A950                     syscall    CountMItems
  8264. 000053DC  301F                     move.w     D0, [A7]+
  8265. 000053DE  3F00                     move.w     -[A7], D0
  8266. 000053E0  A952                     syscall    DeleteMenuItem/DelMenuItem
  8267. 000053E2  70FF                     moveq.l    D0, 0xFFFFFFFF
  8268. 000053E4  2B40 B4D4                move.l     [A5 - 0x4B2C], D0
  8269. 000053E8  4E75                     rts
  8270. fn000053EA:
  8271. 000053EA  48E7 1F20                movem.l    -[A7], D3,D4,D5,D6,D7,A2
  8272. 000053EE  4FEF FF3E                lea.l      A7, [A7 - 0xC2]
  8273. 000053F2  2F7C 414C 5448 0056      move.l     [A7 + 0x56], 0x414C5448 /* 'ALTH' */
  8274. 000053FA  2F7C 414C 5468 005A      move.l     [A7 + 0x5A], 0x414C5468 /* 'ALTh' */
  8275. 00005402  2F7C 414C 544D 005E      move.l     [A7 + 0x5E], 0x414C544D /* 'ALTM' */
  8276. 0000540A  2F7C 414C 5456 0062      move.l     [A7 + 0x62], 0x414C5456 /* 'ALTV' */
  8277. 00005412  2F7C 414C 5476 0066      move.l     [A7 + 0x66], 0x414C5476 /* 'ALTv' */
  8278. 0000541A  7C05                     moveq.l    D6, 0x05
  8279. 0000541C  4AAD 131A                tst.l      [A5 + 0x131A /* export_607 */]
  8280. 00005420  6726                     beq        +0x28 /* 00005448 */
  8281. 00005422  4EBA 0614                jsr        [PC + 0x614 /* 00005A38 */]
  8282. 00005426  2448                     movea.l    A2, A0
  8283. 00005428  42A7                     clr.l      -[A7]
  8284. 0000542A  3F06                     move.w     -[A7], D6
  8285. 0000542C  486F 005C                pea.l      [A7 + 0x5C]
  8286. 00005430  486F 0074                pea.l      [A7 + 0x74]
  8287. 00005434  3F3C 0006                move.w     -[A7], 0x6
  8288. 00005438  A9EA                     syscall    Pack3
  8289. 0000543A  200A                     move.l     D0, A2
  8290. 0000543C  6700 00BE                beq        +0xC0 /* 000054FC */
  8291. 00005440  2F0A                     move.l     -[A7], A2
  8292. 00005442  A9A3                     syscall    ReleaseResource
  8293. 00005444  6000 00B6                bra        +0xB8 /* 000054FC */
  8294. label00005448:
  8295. 00005448  4EBA CC1A                jsr        [PC - 0x33E6 /* 00002064 */]
  8296. 0000544C  3600                     move.w     D3, D0
  8297. 0000544E  3A2D 1586                move.w     D5, [A5 + 0x1586]
  8298. 00005452  48C5                     ext.l      D5
  8299. 00005454  302D 158A                move.w     D0, [A5 + 0x158A /* export_685 */]
  8300. 00005458  48C0                     ext.l      D0
  8301. 0000545A  9085                     sub.l      D0, D5
  8302. 0000545C  2800                     move.l     D4, D0
  8303. 0000545E  E08C                     lsr        D4, 8
  8304. 00005460  E08C                     lsr        D4, 8
  8305. 00005462  E08C                     lsr        D4, 8
  8306. 00005464  EE8C                     lsr        D4, 7
  8307. 00005466  D880                     add.l      D4, D0
  8308. 00005468  E284                     asr        D4, 1
  8309. 0000546A  D885                     add.l      D4, D5
  8310. 0000546C  3E2D 1584                move.w     D7, [A5 + 0x1584]
  8311. 00005470  48C7                     ext.l      D7
  8312. 00005472  3003                     move.w     D0, D3
  8313. 00005474  48C0                     ext.l      D0
  8314. 00005476  D087                     add.l      D0, D7
  8315. 00005478  322D 1588                move.w     D1, [A5 + 0x1588]
  8316. 0000547C  48C1                     ext.l      D1
  8317. 0000547E  9287                     sub.l      D1, D7
  8318. 00005480  3403                     move.w     D2, D3
  8319. 00005482  48C2                     ext.l      D2
  8320. 00005484  9282                     sub.l      D1, D2
  8321. 00005486  2E80                     move.l     [A7], D0
  8322. 00005488  2001                     move.l     D0, D1
  8323. 0000548A  7203                     moveq.l    D1, 0x03
  8324. 0000548C  4EAD D904                jsr        [A5 - 0x26FC]
  8325. 00005490  D097                     add.l      D0, [A7]
  8326. 00005492  3A00                     move.w     D5, D0
  8327. 00005494  3004                     move.w     D0, D4
  8328. 00005496  48C0                     ext.l      D0
  8329. 00005498  0680 FFFF FF52           addi.l     D0, 0xFFFFFF52
  8330. 0000549E  3F40 000A                move.w     [A7 + 0xA], D0
  8331. 000054A2  3005                     move.w     D0, D5
  8332. 000054A4  48C0                     ext.l      D0
  8333. 000054A6  729C                     moveq.l    D1, 0xFFFFFF9C
  8334. 000054A8  D081                     add.l      D0, D1
  8335. 000054AA  3F40 0008                move.w     [A7 + 0x8], D0
  8336. 000054AE  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  8337. 000054B2  486D B4DB                pea.l      [A5 - 0x4B25]
  8338. 000054B6  42A7                     clr.l      -[A7]
  8339. 000054B8  3F06                     move.w     -[A7], D6
  8340. 000054BA  486F 0064                pea.l      [A7 + 0x64]
  8341. 000054BE  42A7                     clr.l      -[A7]
  8342. 000054C0  486F 0022                pea.l      [A7 + 0x22]
  8343. 000054C4  3F3C 0002                move.w     -[A7], 0x2
  8344. 000054C8  A9EA                     syscall    Pack3
  8345. 000054CA  554F                     subq.w     A7, 2
  8346. 000054CC  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  8347. 000054D0  486F 0074                pea.l      [A7 + 0x74]
  8348. 000054D4  486F 007A                pea.l      [A7 + 0x7A]
  8349. 000054D8  486F 0010                pea.l      [A7 + 0x10]
  8350. 000054DC  4EAD DA18                jsr        [A5 - 0x25E8]
  8351. 000054E0  301F                     move.w     D0, [A7]+
  8352. 000054E2  6636                     bne        +0x38 /* 0000551A */
  8353. 000054E4  41EF 0016                lea.l      A0, [A7 + 0x16]
  8354. 000054E8  43EF 0076                lea.l      A1, [A7 + 0x76]
  8355. 000054EC  7000                     moveq.l    D0, 0x00
  8356. 000054EE  102F 0016                move.b     D0, [A7 + 0x16]
  8357. 000054F2  5280                     addq.l     D0, 1
  8358. 000054F4  A02E                     syscall    BlockMove/BlockMoveData
  8359. 000054F6  1F6F 000C 006A           move.b     [A7 + 0x6A], [A7 + 0xC]
  8360. label000054FC:
  8361. 000054FC  4A2F 006A                tst.b      [A7 + 0x6A]
  8362. 00005500  6718                     beq        +0x1A /* 0000551A */
  8363. 00005502  42A7                     clr.l      -[A7]
  8364. 00005504  42A7                     clr.l      -[A7]
  8365. 00005506  4878 0001                push.l     0x1
  8366. 0000550A  4878 0001                push.l     0x1
  8367. 0000550E  486F 0080                pea.l      [A7 + 0x80]
  8368. 00005512  4EBA FAB4                jsr        [PC - 0x54C /* 00004FC8 */]
  8369. 00005516  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8370. label0000551A:
  8371. 0000551A  4FEF 00C2                lea.l      A7, [A7 + 0xC2]
  8372. 0000551E  4CDF 04F8                movem.l    D3,D4,D5,D6,D7,A2, [A7]+
  8373. 00005522  4E75                     rts
  8374. fn00005524:
  8375. 00005524  48E7 0030                movem.l    -[A7], A2,A3
  8376. 00005528  4FEF FE94                lea.l      A7, [A7 - 0x16C]
  8377. 0000552C  266F 0178                movea.l    A3, [A7 + 0x178]
  8378. 00005530  246F 017C                movea.l    A2, [A7 + 0x17C]
  8379. 00005534  4857                     pea.l      [A7]
  8380. 00005536  486F 0044                pea.l      [A7 + 0x44]
  8381. 0000553A  486F 0088                pea.l      [A7 + 0x88]
  8382. 0000553E  486B 0006                pea.l      [A3 + 0x6]
  8383. 00005542  4EBA 00A6                jsr        [PC + 0xA6 /* 000055EA */]
  8384. 00005546  41EF 0010                lea.l      A0, [A7 + 0x10]
  8385. 0000554A  43EA 0006                lea.l      A1, [A2 + 0x6]
  8386. 0000554E  7000                     moveq.l    D0, 0x00
  8387. 00005550  102F 0010                move.b     D0, [A7 + 0x10]
  8388. 00005554  5280                     addq.l     D0, 1
  8389. 00005556  A02E                     syscall    BlockMove/BlockMoveData
  8390. 00005558  4A2F 0050                tst.b      [A7 + 0x50]
  8391. 0000555C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8392. 00005560  6776                     beq        +0x78 /* 000055D8 */
  8393. 00005562  41ED 89AA                lea.l      A0, [A5 - 0x7656]
  8394. 00005566  43EF 0100                lea.l      A1, [A7 + 0x100]
  8395. 0000556A  701A                     moveq.l    D0, 0x1A
  8396. label0000556C:
  8397. 0000556C  22D8                     move.l     [A1]+, [A0]+
  8398. 0000556E  51C8 FFFC                dbf        D0, -0x6 /* 0000556C */
  8399. 00005572  3F53 0116                move.w     [A7 + 0x116], [A3]
  8400. 00005576  4A2F 0080                tst.b      [A7 + 0x80]
  8401. 0000557A  672E                     beq        +0x30 /* 000055AA */
  8402. 0000557C  41ED 896A                lea.l      A0, [A5 - 0x7696]
  8403. 00005580  43EF 00C0                lea.l      A1, [A7 + 0xC0]
  8404. 00005584  700F                     moveq.l    D0, 0x0F
  8405. label00005586:
  8406. 00005586  22D8                     move.l     [A1]+, [A0]+
  8407. 00005588  51C8 FFFC                dbf        D0, -0x6 /* 00005586 */
  8408. 0000558C  41EF 0080                lea.l      A0, [A7 + 0x80]
  8409. 00005590  2F48 00D2                move.l     [A7 + 0xD2], A0
  8410. 00005594  3F7C FFFF 00DC           move.w     [A7 + 0xDC], 0xFFFF
  8411. 0000559A  41EF 00C0                lea.l      A0, [A7 + 0xC0]
  8412. 0000559E  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  8413. 000055A0  4A40                     tst.w      D0
  8414. 000055A2  6606                     bne        +0x8 /* 000055AA */
  8415. 000055A4  3F6F 00D6 0116           move.w     [A7 + 0x116], [A7 + 0xD6]
  8416. label000055AA:
  8417. 000055AA  34AF 0116                move.w     [A2], [A7 + 0x116]
  8418. 000055AE  41EF 0040                lea.l      A0, [A7 + 0x40]
  8419. 000055B2  2F48 0112                move.l     [A7 + 0x112], A0
  8420. 000055B6  7002                     moveq.l    D0, 0x02
  8421. 000055B8  2F40 0130                move.l     [A7 + 0x130], D0
  8422. 000055BC  41EF 0100                lea.l      A0, [A7 + 0x100]
  8423. 000055C0  7009                     moveq.l    D0, 0x09
  8424. 000055C2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  8425. 000055C4  4A40                     tst.w      D0
  8426. 000055C6  6610                     bne        +0x12 /* 000055D8 */
  8427. 000055C8  256F 0130 0002           move.l     [A2 + 0x2], [A7 + 0x130]
  8428. 000055CE  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  8429. 000055D2  4CDF 0C00                movem.l    A2,A3, [A7]+
  8430. 000055D6  4E75                     rts
  8431. label000055D8:
  8432. 000055D8  3493                     move.w     [A2], [A3]
  8433. 000055DA  256B 0002 0002           move.l     [A2 + 0x2], [A3 + 0x2]
  8434. 000055E0  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  8435. 000055E4  4CDF 0C00                movem.l    A2,A3, [A7]+
  8436. 000055E8  4E75                     rts
  8437. fn000055EA:
  8438. 000055EA  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  8439. 000055EE  2A2F 0020                move.l     D5, [A7 + 0x20]
  8440. 000055F2  2C6F 0024                movea.l    A6, [A7 + 0x24]
  8441. 000055F6  286F 0028                movea.l    A4, [A7 + 0x28]
  8442. 000055FA  282F 002C                move.l     D4, [A7 + 0x2C]
  8443. 000055FE  2645                     movea.l    A3, D5
  8444. 00005600  528B                     addq.l     A3, 1
  8445. 00005602  2445                     movea.l    A2, D5
  8446. 00005604  7000                     moveq.l    D0, 0x00
  8447. 00005606  1012                     move.b     D0, [A2]
  8448. 00005608  244B                     movea.l    A2, A3
  8449. 0000560A  D4C0                     add.w      A2, D0
  8450. 0000560C  260A                     move.l     D3, A2
  8451. 0000560E  600A                     bra        +0xC /* 0000561A */
  8452. label00005610:
  8453. 00005610  0C2A 003A FFFF           cmpi.b     [A2 - 0x1], 0x3A /* ':' */
  8454. 00005616  6706                     beq        +0x8 /* 0000561E */
  8455. 00005618  538A                     subq.l     A2, 1
  8456. label0000561A:
  8457. 0000561A  B5CB                     cmpa.l     A2, A3
  8458. 0000561C  62F2                     bhi        -0xC /* 00005610 */
  8459. label0000561E:
  8460. 0000561E  2043                     movea.l    A0, D3
  8461. 00005620  91CA                     sub.l      A0, A2
  8462. 00005622  2008                     move.l     D0, A0
  8463. 00005624  2044                     movea.l    A0, D4
  8464. 00005626  1080                     move.b     [A0], D0
  8465. 00005628  7200                     moveq.l    D1, 0x00
  8466. 0000562A  1200                     move.b     D1, D0
  8467. 0000562C  2001                     move.l     D0, D1
  8468. 0000562E  204A                     movea.l    A0, A2
  8469. 00005630  2244                     movea.l    A1, D4
  8470. 00005632  43E9 0001                lea.l      A1, [A1 + 0x1]
  8471. 00005636  A02E                     syscall    BlockMove/BlockMoveData
  8472. 00005638  B5CB                     cmpa.l     A2, A3
  8473. 0000563A  635E                     bls        +0x60 /* 0000569A */
  8474. 0000563C  0C13 003A                cmpi.b     [A3], 0x3A /* ':' */
  8475. 00005640  661A                     bne        +0x1C /* 0000565C */
  8476. 00005642  204A                     movea.l    A0, A2
  8477. 00005644  91CB                     sub.l      A0, A3
  8478. 00005646  2008                     move.l     D0, A0
  8479. 00005648  1880                     move.b     [A4], D0
  8480. 0000564A  7200                     moveq.l    D1, 0x00
  8481. 0000564C  1200                     move.b     D1, D0
  8482. 0000564E  2001                     move.l     D0, D1
  8483. 00005650  204B                     movea.l    A0, A3
  8484. 00005652  43EC 0001                lea.l      A1, [A4 + 0x1]
  8485. 00005656  A02E                     syscall    BlockMove/BlockMoveData
  8486. 00005658  4216                     clr.b      [A6]
  8487. 0000565A  6042                     bra        +0x44 /* 0000569E */
  8488. label0000565C:
  8489. 0000565C  260A                     move.l     D3, A2
  8490. 0000565E  244B                     movea.l    A2, A3
  8491. 00005660  6002                     bra        +0x4 /* 00005664 */
  8492. label00005662:
  8493. 00005662  528A                     addq.l     A2, 1
  8494. label00005664:
  8495. 00005664  0C12 003A                cmpi.b     [A2], 0x3A /* ':' */
  8496. 00005668  66F8                     bne        -0x6 /* 00005662 */
  8497. 0000566A  2043                     movea.l    A0, D3
  8498. 0000566C  91CA                     sub.l      A0, A2
  8499. 0000566E  2008                     move.l     D0, A0
  8500. 00005670  1880                     move.b     [A4], D0
  8501. 00005672  7200                     moveq.l    D1, 0x00
  8502. 00005674  1200                     move.b     D1, D0
  8503. 00005676  2001                     move.l     D0, D1
  8504. 00005678  204A                     movea.l    A0, A2
  8505. 0000567A  43EC 0001                lea.l      A1, [A4 + 0x1]
  8506. 0000567E  A02E                     syscall    BlockMove/BlockMoveData
  8507. 00005680  204A                     movea.l    A0, A2
  8508. 00005682  91CB                     sub.l      A0, A3
  8509. 00005684  5288                     addq.l     A0, 1
  8510. 00005686  2008                     move.l     D0, A0
  8511. 00005688  1C80                     move.b     [A6], D0
  8512. 0000568A  7200                     moveq.l    D1, 0x00
  8513. 0000568C  1200                     move.b     D1, D0
  8514. 0000568E  2001                     move.l     D0, D1
  8515. 00005690  204B                     movea.l    A0, A3
  8516. 00005692  43EE 0001                lea.l      A1, [A6 + 0x1]
  8517. 00005696  A02E                     syscall    BlockMove/BlockMoveData
  8518. 00005698  6004                     bra        +0x6 /* 0000569E */
  8519. label0000569A:
  8520. 0000569A  4214                     clr.b      [A4]
  8521. 0000569C  4216                     clr.b      [A6]
  8522. label0000569E:
  8523. 0000569E  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8524. 000056A2  4E75                     rts
  8525. fn000056A4:
  8526. 000056A4  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  8527. 000056A8  4FEF FFAA                lea.l      A7, [A7 - 0x56]
  8528. 000056AC  246F 006A                movea.l    A2, [A7 + 0x6A]
  8529. 000056B0  266F 006E                movea.l    A3, [A7 + 0x6E]
  8530. 000056B4  7600                     moveq.l    D3, 0x00
  8531. 000056B6  36BC FFFF                move.w     [A3], 0xFFFF
  8532. 000056BA  3EAD 8A28                move.w     [A7], [A5 - 0x75D8]
  8533. 000056BE  2F6D 8A22 0002           move.l     [A7 + 0x2], [A5 - 0x75DE]
  8534. 000056C4  41F8 0910                lea.l      A0, [0x00000910 /* CurApName */]
  8535. 000056C8  43EF 0006                lea.l      A1, [A7 + 0x6]
  8536. 000056CC  7000                     moveq.l    D0, 0x00
  8537. 000056CE  1038 0910                move.b     D0, [0x00000910 /* CurApName */]
  8538. 000056D2  5280                     addq.l     D0, 1
  8539. 000056D4  A02E                     syscall    BlockMove/BlockMoveData
  8540. 000056D6  2F0A                     move.l     -[A7], A2
  8541. 000056D8  486F 0004                pea.l      [A7 + 0x4]
  8542. 000056DC  4EAD DE70                jsr        [A5 - 0x2190]
  8543. 000056E0  4A80                     tst.l      D0
  8544. 000056E2  504F                     addq.w     A7, 8
  8545. 000056E4  670C                     beq        +0xE /* 000056F2 */
  8546. 000056E6  7000                     moveq.l    D0, 0x00
  8547. 000056E8  4FEF 0056                lea.l      A7, [A7 + 0x56]
  8548. 000056EC  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8549. 000056F0  4E75                     rts
  8550. label000056F2:
  8551. 000056F2  3F12                     move.w     -[A7], [A2]
  8552. 000056F4  4EBA 0182                jsr        [PC + 0x182 /* 00005878 */]
  8553. 000056F8  4A80                     tst.l      D0
  8554. 000056FA  544F                     addq.w     A7, 2
  8555. 000056FC  6600 00F6                bne        +0xF8 /* 000057F4 */
  8556. 00005700  2F0A                     move.l     -[A7], A2
  8557. 00005702  4EBA 01CE                jsr        [PC + 0x1CE /* 000058D2 */]
  8558. 00005706  4A80                     tst.l      D0
  8559. 00005708  584F                     addq.w     A7, 4
  8560. 0000570A  6600 00E8                bne        +0xEA /* 000057F4 */
  8561. 0000570E  3F12                     move.w     -[A7], [A2]
  8562. 00005710  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  8563. 00005714  486A 0006                pea.l      [A2 + 0x6]
  8564. 00005718  4EAD DA24                jsr        [A5 - 0x25DC]
  8565. 0000571C  554F                     subq.w     A7, 2
  8566. 0000571E  A9AF                     syscall    ResError
  8567. 00005720  301F                     move.w     D0, [A7]+
  8568. 00005722  3600                     move.w     D3, D0
  8569. 00005724  4A43                     tst.w      D3
  8570. 00005726  6718                     beq        +0x1A /* 00005740 */
  8571. 00005728  0C43 FFD0                cmpi.w     D3, 0xFFD0
  8572. 0000572C  6712                     beq        +0x14 /* 00005740 */
  8573. 0000572E  0C43 FFCF                cmpi.w     D3, 0xFFCF
  8574. 00005732  670C                     beq        +0xE /* 00005740 */
  8575. 00005734  3003                     move.w     D0, D3
  8576. 00005736  4FEF 0056                lea.l      A7, [A7 + 0x56]
  8577. 0000573A  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8578. 0000573E  4E75                     rts
  8579. label00005740:
  8580. 00005740  4AAF 0072                tst.l      [A7 + 0x72]
  8581. 00005744  6700 0082                beq        +0x84 /* 000057C8 */
  8582. 00005748  554F                     subq.w     A7, 2
  8583. 0000574A  3F12                     move.w     -[A7], [A2]
  8584. 0000574C  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  8585. 00005750  486A 0006                pea.l      [A2 + 0x6]
  8586. 00005754  486F 0052                pea.l      [A7 + 0x52]
  8587. 00005758  4EAD DA06                jsr        [A5 - 0x25FA]
  8588. 0000575C  301F                     move.w     D0, [A7]+
  8589. 0000575E  3800                     move.w     D4, D0
  8590. 00005760  670C                     beq        +0xE /* 0000576E */
  8591. 00005762  3004                     move.w     D0, D4
  8592. 00005764  4FEF 0056                lea.l      A7, [A7 + 0x56]
  8593. 00005768  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8594. 0000576C  4E75                     rts
  8595. label0000576E:
  8596. 0000576E  4A43                     tst.w      D3
  8597. 00005770  6720                     beq        +0x22 /* 00005792 */
  8598. 00005772  0CAF 414C 5471 0046      cmpi.l     [A7 + 0x46], 0x414C5471 /* 'ALTq' */
  8599. 0000577A  674C                     beq        +0x4E /* 000057C8 */
  8600. 0000577C  0CAF 414C 5470 0046      cmpi.l     [A7 + 0x46], 0x414C5470 /* 'ALTp' */
  8601. 00005784  6742                     beq        +0x44 /* 000057C8 */
  8602. 00005786  70D0                     moveq.l    D0, 0xFFFFFFD0
  8603. 00005788  4FEF 0056                lea.l      A7, [A7 + 0x56]
  8604. 0000578C  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8605. 00005790  4E75                     rts
  8606. label00005792:
  8607. 00005792  2F7C 414C 5456 004A      move.l     [A7 + 0x4A], 0x414C5456 /* 'ALTV' */
  8608. 0000579A  2F7C 414C 5471 0046      move.l     [A7 + 0x46], 0x414C5471 /* 'ALTq' */
  8609. 000057A2  554F                     subq.w     A7, 2
  8610. 000057A4  3F12                     move.w     -[A7], [A2]
  8611. 000057A6  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  8612. 000057AA  486A 0006                pea.l      [A2 + 0x6]
  8613. 000057AE  486F 0052                pea.l      [A7 + 0x52]
  8614. 000057B2  4EAD DA0C                jsr        [A5 - 0x25F4]
  8615. 000057B6  301F                     move.w     D0, [A7]+
  8616. 000057B8  3600                     move.w     D3, D0
  8617. 000057BA  670C                     beq        +0xE /* 000057C8 */
  8618. 000057BC  3003                     move.w     D0, D3
  8619. 000057BE  4FEF 0056                lea.l      A7, [A7 + 0x56]
  8620. 000057C2  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8621. 000057C6  4E75                     rts
  8622. label000057C8:
  8623. 000057C8  554F                     subq.w     A7, 2
  8624. 000057CA  A994                     syscall    CurResFile
  8625. 000057CC  301F                     move.w     D0, [A7]+
  8626. 000057CE  3800                     move.w     D4, D0
  8627. 000057D0  554F                     subq.w     A7, 2
  8628. 000057D2  3F12                     move.w     -[A7], [A2]
  8629. 000057D4  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  8630. 000057D8  486A 0006                pea.l      [A2 + 0x6]
  8631. 000057DC  1F3C 0003                move.b     -[A7], 0x3
  8632. 000057E0  4EAD DA1E                jsr        [A5 - 0x25E2]
  8633. 000057E4  301F                     move.w     D0, [A7]+
  8634. 000057E6  3680                     move.w     [A3], D0
  8635. 000057E8  554F                     subq.w     A7, 2
  8636. 000057EA  A9AF                     syscall    ResError
  8637. 000057EC  301F                     move.w     D0, [A7]+
  8638. 000057EE  3600                     move.w     D3, D0
  8639. 000057F0  3F04                     move.w     -[A7], D4
  8640. 000057F2  A998                     syscall    UseResFile
  8641. label000057F4:
  8642. 000057F4  3003                     move.w     D0, D3
  8643. 000057F6  4FEF 0056                lea.l      A7, [A7 + 0x56]
  8644. 000057FA  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8645. 000057FE  4E75                     rts
  8646. fn00005800:
  8647. 00005800  48E7 1820                movem.l    -[A7], D3,D4,A2
  8648. 00005804  4FEF FFBA                lea.l      A7, [A7 - 0x46]
  8649. 00005808  246F 005A                movea.l    A2, [A7 + 0x5A]
  8650. 0000580C  7800                     moveq.l    D4, 0x00
  8651. 0000580E  7600                     moveq.l    D3, 0x00
  8652. 00005810  206F 0056                movea.l    A0, [A7 + 0x56]
  8653. 00005814  43D7                     lea.l      A1, [A7]
  8654. 00005816  7010                     moveq.l    D0, 0x10
  8655. label00005818:
  8656. 00005818  22D8                     move.l     [A1]+, [A0]+
  8657. 0000581A  51C8 FFFC                dbf        D0, -0x6 /* 00005818 */
  8658. 0000581E  32D8                     move.w     [A1]+, [A0]+
  8659. label00005820:
  8660. 00005820  2F03                     move.l     -[A7], D3
  8661. 00005822  2F0A                     move.l     -[A7], A2
  8662. 00005824  486F 0008                pea.l      [A7 + 0x8]
  8663. 00005828  4EBA FE7A                jsr        [PC - 0x186 /* 000056A4 */]
  8664. 0000582C  3800                     move.w     D4, D0
  8665. 0000582E  4A44                     tst.w      D4
  8666. 00005830  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8667. 00005834  6612                     bne        +0x14 /* 00005848 */
  8668. 00005836  0C52 FFFF                cmpi.w     [A2], 0xFFFF
  8669. 0000583A  670C                     beq        +0xE /* 00005848 */
  8670. 0000583C  7000                     moveq.l    D0, 0x00
  8671. 0000583E  4FEF 0046                lea.l      A7, [A7 + 0x46]
  8672. 00005842  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8673. 00005846  4E75                     rts
  8674. label00005848:
  8675. 00005848  4A83                     tst.l      D3
  8676. 0000584A  6612                     bne        +0x14 /* 0000585E */
  8677. 0000584C  486F 0002                pea.l      [A7 + 0x2]
  8678. 00005850  486F 0004                pea.l      [A7 + 0x4]
  8679. 00005854  4EAD E000                jsr        [A5 - 0x2000]
  8680. 00005858  7601                     moveq.l    D3, 0x01
  8681. 0000585A  504F                     addq.w     A7, 8
  8682. 0000585C  60C2                     bra        -0x3C /* 00005820 */
  8683. label0000585E:
  8684. 0000585E  4A44                     tst.w      D4
  8685. 00005860  6606                     bne        +0x8 /* 00005868 */
  8686. 00005862  0C52 FFFF                cmpi.w     [A2], 0xFFFF
  8687. 00005866  6604                     bne        +0x6 /* 0000586C */
  8688. label00005868:
  8689. 00005868  70D5                     moveq.l    D0, 0xFFFFFFD5
  8690. 0000586A  6002                     bra        +0x4 /* 0000586E */
  8691. label0000586C:
  8692. 0000586C  7000                     moveq.l    D0, 0x00
  8693. label0000586E:
  8694. 0000586E  4FEF 0046                lea.l      A7, [A7 + 0x46]
  8695. 00005872  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8696. 00005876  4E75                     rts
  8697. fn00005878:
  8698. 00005878  4FEF FEC0                lea.l      A7, [A7 - 0x140]
  8699. 0000587C  41ED 892A                lea.l      A0, [A5 - 0x76D6]
  8700. 00005880  43EF 0100                lea.l      A1, [A7 + 0x100]
  8701. 00005884  700F                     moveq.l    D0, 0x0F
  8702. label00005886:
  8703. 00005886  22D8                     move.l     [A1]+, [A0]+
  8704. 00005888  51C8 FFFC                dbf        D0, -0x6 /* 00005886 */
  8705. 0000588C  42AF 010C                clr.l      [A7 + 0x10C]
  8706. 00005890  41D7                     lea.l      A0, [A7]
  8707. 00005892  2F48 0112                move.l     [A7 + 0x112], A0
  8708. 00005896  426F 011C                clr.w      [A7 + 0x11C]
  8709. 0000589A  3F6F 0144 0116           move.w     [A7 + 0x116], [A7 + 0x144]
  8710. 000058A0  41EF 0100                lea.l      A0, [A7 + 0x100]
  8711. 000058A4  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  8712. 000058A6  4A40                     tst.w      D0
  8713. 000058A8  6620                     bne        +0x22 /* 000058CA */
  8714. 000058AA  7000                     moveq.l    D0, 0x00
  8715. 000058AC  082F 0007 0127           btst.b     [A7 + 0x127], 0x7
  8716. 000058B2  660E                     bne        +0x10 /* 000058C2 */
  8717. 000058B4  7000                     moveq.l    D0, 0x00
  8718. 000058B6  082F 0007 0126           btst.b     [A7 + 0x126], 0x7
  8719. 000058BC  6604                     bne        +0x6 /* 000058C2 */
  8720. 000058BE  7000                     moveq.l    D0, 0x00
  8721. 000058C0  6002                     bra        +0x4 /* 000058C4 */
  8722. label000058C2:
  8723. 000058C2  7001                     moveq.l    D0, 0x01
  8724. label000058C4:
  8725. 000058C4  4FEF 0140                lea.l      A7, [A7 + 0x140]
  8726. 000058C8  4E75                     rts
  8727. label000058CA:
  8728. 000058CA  7000                     moveq.l    D0, 0x00
  8729. 000058CC  4FEF 0140                lea.l      A7, [A7 + 0x140]
  8730. 000058D0  4E75                     rts
  8731. fn000058D2:
  8732. 000058D2  2F0A                     move.l     -[A7], A2
  8733. 000058D4  4FEF FE44                lea.l      A7, [A7 - 0x1BC]
  8734. 000058D8  246F 01C4                movea.l    A2, [A7 + 0x1C4]
  8735. 000058DC  41ED 88DA                lea.l      A0, [A5 - 0x7726]
  8736. 000058E0  43EF 0100                lea.l      A1, [A7 + 0x100]
  8737. 000058E4  7013                     moveq.l    D0, 0x13
  8738. label000058E6:
  8739. 000058E6  22D8                     move.l     [A1]+, [A0]+
  8740. 000058E8  51C8 FFFC                dbf        D0, -0x6 /* 000058E6 */
  8741. 000058EC  41ED 886E                lea.l      A0, [A5 - 0x7792]
  8742. 000058F0  43EF 0150                lea.l      A1, [A7 + 0x150]
  8743. 000058F4  701A                     moveq.l    D0, 0x1A
  8744. label000058F6:
  8745. 000058F6  22D8                     move.l     [A1]+, [A0]+
  8746. 000058F8  51C8 FFFC                dbf        D0, -0x6 /* 000058F6 */
  8747. 000058FC  204A                     movea.l    A0, A2
  8748. 000058FE  5C88                     addq.l     A0, 6
  8749. 00005900  2F48 0112                move.l     [A7 + 0x112], A0
  8750. 00005904  3F52 0116                move.w     [A7 + 0x116], [A2]
  8751. 00005908  2F6A 0002 0130           move.l     [A7 + 0x130], [A2 + 0x2]
  8752. 0000590E  41EF 0100                lea.l      A0, [A7 + 0x100]
  8753. 00005912  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  8754. 00005914  4A40                     tst.w      D0
  8755. 00005916  6614                     bne        +0x16 /* 0000592C */
  8756. 00005918  102F 011E                move.b     D0, [A7 + 0x11E]
  8757. 0000591C  7201                     moveq.l    D1, 0x01
  8758. 0000591E  C081                     and.l      D0, D1
  8759. 00005920  670A                     beq        +0xC /* 0000592C */
  8760. 00005922  7001                     moveq.l    D0, 0x01
  8761. 00005924  4FEF 01BC                lea.l      A7, [A7 + 0x1BC]
  8762. 00005928  245F                     movea.l    A2, [A7]+
  8763. 0000592A  4E75                     rts
  8764. label0000592C:
  8765. 0000592C  41D7                     lea.l      A0, [A7]
  8766. 0000592E  2F48 0162                move.l     [A7 + 0x162], A0
  8767. 00005932  3F52 0166                move.w     [A7 + 0x166], [A2]
  8768. 00005936  3F7C FFFF 016C           move.w     [A7 + 0x16C], 0xFFFF
  8769. 0000593C  2F6A 0002 0180           move.l     [A7 + 0x180], [A2 + 0x2]
  8770. 00005942  41EF 0150                lea.l      A0, [A7 + 0x150]
  8771. 00005946  7009                     moveq.l    D0, 0x09
  8772. 00005948  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  8773. 0000594A  4A40                     tst.w      D0
  8774. 0000594C  6618                     bne        +0x1A /* 00005966 */
  8775. 0000594E  102F 016F                move.b     D0, [A7 + 0x16F]
  8776. 00005952  4880                     ext.w      D0
  8777. 00005954  48C0                     ext.l      D0
  8778. 00005956  7204                     moveq.l    D1, 0x04
  8779. 00005958  C081                     and.l      D0, D1
  8780. 0000595A  670A                     beq        +0xC /* 00005966 */
  8781. 0000595C  7001                     moveq.l    D0, 0x01
  8782. 0000595E  4FEF 01BC                lea.l      A7, [A7 + 0x1BC]
  8783. 00005962  245F                     movea.l    A2, [A7]+
  8784. 00005964  4E75                     rts
  8785. label00005966:
  8786. 00005966  7000                     moveq.l    D0, 0x00
  8787. 00005968  4FEF 01BC                lea.l      A7, [A7 + 0x1BC]
  8788. 0000596C  245F                     movea.l    A2, [A7]+
  8789. 0000596E  4E75                     rts
  8790. fn00005970:
  8791. 00005970  48E7 1820                movem.l    -[A7], D3,D4,A2
  8792. 00005974  594F                     subq.w     A7, 4
  8793. 00005976  382F 0014                move.w     D4, [A7 + 0x14]
  8794. 0000597A  594F                     subq.w     A7, 4
  8795. 0000597C  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  8796. 00005980  4E90                     jsr        [A0]
  8797. 00005982  205F                     movea.l    A0, [A7]+
  8798. 00005984  2448                     movea.l    A2, A0
  8799. 00005986  200A                     move.l     D0, A2
  8800. 00005988  670C                     beq        +0xE /* 00005996 */
  8801. 0000598A  322A 006C                move.w     D1, [A2 + 0x6C]
  8802. 0000598E  B26D B418                cmp.w      D1, [A5 - 0x4BE8]
  8803. 00005992  6706                     beq        +0x8 /* 0000599A */
  8804. 00005994  2E80                     move.l     [A7], D0
  8805. label00005996:
  8806. 00005996  7000                     moveq.l    D0, 0x00
  8807. 00005998  6002                     bra        +0x4 /* 0000599C */
  8808. label0000599A:
  8809. 0000599A  7001                     moveq.l    D0, 0x01
  8810. label0000599C:
  8811. 0000599C  2600                     move.l     D3, D0
  8812. 0000599E  0C44 0001                cmpi.w     D4, 0x1
  8813. 000059A2  6716                     beq        +0x18 /* 000059BA */
  8814. 000059A4  0C44 0008                cmpi.w     D4, 0x8
  8815. 000059A8  6710                     beq        +0x12 /* 000059BA */
  8816. 000059AA  3004                     move.w     D0, D4
  8817. 000059AC  48C0                     ext.l      D0
  8818. 000059AE  322D B414                move.w     D1, [A5 - 0x4BEC]
  8819. 000059B2  48C1                     ext.l      D1
  8820. 000059B4  5481                     addq.l     D1, 2
  8821. 000059B6  B280                     cmp.l      D1, D0
  8822. 000059B8  660C                     bne        +0xE /* 000059C6 */
  8823. label000059BA:
  8824. 000059BA  3F04                     move.w     -[A7], D4
  8825. 000059BC  2F0A                     move.l     -[A7], A2
  8826. 000059BE  4EAD E860                jsr        [A5 - 0x17A0]
  8827. 000059C2  5C4F                     addq.w     A7, 6
  8828. 000059C4  606A                     bra        +0x6C /* 00005A30 */
  8829. label000059C6:
  8830. 000059C6  0C44 0003                cmpi.w     D4, 0x3
  8831. 000059CA  6712                     beq        +0x14 /* 000059DE */
  8832. 000059CC  0C44 0004                cmpi.w     D4, 0x4
  8833. 000059D0  670C                     beq        +0xE /* 000059DE */
  8834. 000059D2  0C44 0005                cmpi.w     D4, 0x5
  8835. 000059D6  6706                     beq        +0x8 /* 000059DE */
  8836. 000059D8  0C44 0006                cmpi.w     D4, 0x6
  8837. 000059DC  661C                     bne        +0x1E /* 000059FA */
  8838. label000059DE:
  8839. 000059DE  4A83                     tst.l      D3
  8840. 000059E0  670C                     beq        +0xE /* 000059EE */
  8841. 000059E2  3F04                     move.w     -[A7], D4
  8842. 000059E4  2F0A                     move.l     -[A7], A2
  8843. 000059E6  4EAD DEE8                jsr        [A5 - 0x2118]
  8844. 000059EA  5C4F                     addq.w     A7, 6
  8845. 000059EC  6042                     bra        +0x44 /* 00005A30 */
  8846. label000059EE:
  8847. 000059EE  3F04                     move.w     -[A7], D4
  8848. 000059F0  2F0A                     move.l     -[A7], A2
  8849. 000059F2  4EAD E860                jsr        [A5 - 0x17A0]
  8850. 000059F6  5C4F                     addq.w     A7, 6
  8851. 000059F8  6036                     bra        +0x38 /* 00005A30 */
  8852. label000059FA:
  8853. 000059FA  3004                     move.w     D0, D4
  8854. 000059FC  48C0                     ext.l      D0
  8855. 000059FE  322D B414                move.w     D1, [A5 - 0x4BEC]
  8856. 00005A02  48C1                     ext.l      D1
  8857. 00005A04  5A81                     addq.l     D1, 5
  8858. 00005A06  B280                     cmp.l      D1, D0
  8859. 00005A08  660A                     bne        +0xC /* 00005A14 */
  8860. 00005A0A  2F0A                     move.l     -[A7], A2
  8861. 00005A0C  4EAD E870                jsr        [A5 - 0x1790]
  8862. 00005A10  584F                     addq.w     A7, 4
  8863. 00005A12  601C                     bra        +0x1E /* 00005A30 */
  8864. label00005A14:
  8865. 00005A14  3004                     move.w     D0, D4
  8866. 00005A16  48C0                     ext.l      D0
  8867. 00005A18  322D B414                move.w     D1, [A5 - 0x4BEC]
  8868. 00005A1C  48C1                     ext.l      D1
  8869. 00005A1E  5881                     addq.l     D1, 4
  8870. 00005A20  B280                     cmp.l      D1, D0
  8871. 00005A22  660C                     bne        +0xE /* 00005A30 */
  8872. 00005A24  4878 0001                push.l     0x1
  8873. 00005A28  2F0A                     move.l     -[A7], A2
  8874. 00005A2A  4EAD E878                jsr        [A5 - 0x1788]
  8875. 00005A2E  504F                     addq.w     A7, 8
  8876. label00005A30:
  8877. 00005A30  584F                     addq.w     A7, 4
  8878. 00005A32  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8879. 00005A36  4E75                     rts
  8880. fn00005A38:
  8881. 00005A38  48E7 0030                movem.l    -[A7], A2,A3
  8882. 00005A3C  97CB                     sub.l      A3, A3
  8883. 00005A3E  594F                     subq.w     A7, 4
  8884. 00005A40  2F3C 4C44 4546           move.l     -[A7], 0x4C444546 /* 'LDEF' */
  8885. 00005A46  3F3C BF5B                move.w     -[A7], 0xBF5B
  8886. 00005A4A  A9A0                     syscall    GetResource
  8887. 00005A4C  205F                     movea.l    A0, [A7]+
  8888. 00005A4E  2648                     movea.l    A3, A0
  8889. 00005A50  200B                     move.l     D0, A3
  8890. 00005A52  6704                     beq        +0x6 /* 00005A58 */
  8891. 00005A54  4A93                     tst.l      [A3]
  8892. 00005A56  6608                     bne        +0xA /* 00005A60 */
  8893. label00005A58:
  8894. 00005A58  91C8                     sub.l      A0, A0
  8895. 00005A5A  4CDF 0C00                movem.l    A2,A3, [A7]+
  8896. 00005A5E  4E75                     rts
  8897. label00005A60:
  8898. 00005A60  594F                     subq.w     A7, 4
  8899. 00005A62  2F0B                     move.l     -[A7], A3
  8900. 00005A64  4EAD D9AC                jsr        [A5 - 0x2654]
  8901. 00005A68  201F                     move.l     D0, [A7]+
  8902. 00005A6A  0C80 0000 09BE           cmpi.l     D0, 0x9BE
  8903. 00005A70  6C08                     bge        +0xA /* 00005A7A */
  8904. 00005A72  91C8                     sub.l      A0, A0
  8905. 00005A74  4CDF 0C00                movem.l    A2,A3, [A7]+
  8906. 00005A78  4E75                     rts
  8907. label00005A7A:
  8908. 00005A7A  2453                     movea.l    A2, [A3]
  8909. 00005A7C  45EA 09BE                lea.l      A2, [A2 + 0x9BE]
  8910. 00005A80  0C5A 206E                cmpi.w     [A2]+, 0x206E /* ' n' */
  8911. 00005A84  6708                     beq        +0xA /* 00005A8E */
  8912. 00005A86  91C8                     sub.l      A0, A0
  8913. 00005A88  4CDF 0C00                movem.l    A2,A3, [A7]+
  8914. 00005A8C  4E75                     rts
  8915. label00005A8E:
  8916. 00005A8E  7000                     moveq.l    D0, 0x00
  8917. 00005A90  301A                     move.w     D0, [A2]+
  8918. 00005A92  0C80 0000 FFCA           cmpi.l     D0, 0xFFCA
  8919. 00005A98  6708                     beq        +0xA /* 00005AA2 */
  8920. 00005A9A  91C8                     sub.l      A0, A0
  8921. 00005A9C  4CDF 0C00                movem.l    A2,A3, [A7]+
  8922. 00005AA0  4E75                     rts
  8923. label00005AA2:
  8924. 00005AA2  0C5A 2068                cmpi.w     [A2]+, 0x2068 /* ' h' */
  8925. 00005AA6  6708                     beq        +0xA /* 00005AB0 */
  8926. 00005AA8  91C8                     sub.l      A0, A0
  8927. 00005AAA  4CDF 0C00                movem.l    A2,A3, [A7]+
  8928. 00005AAE  4E75                     rts
  8929. label00005AB0:
  8930. 00005AB0  0C5A 0008                cmpi.w     [A2]+, 0x8
  8931. 00005AB4  6708                     beq        +0xA /* 00005ABE */
  8932. 00005AB6  91C8                     sub.l      A0, A0
  8933. 00005AB8  4CDF 0C00                movem.l    A2,A3, [A7]+
  8934. 00005ABC  4E75                     rts
  8935. label00005ABE:
  8936. 00005ABE  0C5A 2050                cmpi.w     [A2]+, 0x2050 /* ' P' */
  8937. 00005AC2  6708                     beq        +0xA /* 00005ACC */
  8938. 00005AC4  91C8                     sub.l      A0, A0
  8939. 00005AC6  4CDF 0C00                movem.l    A2,A3, [A7]+
  8940. 00005ACA  4E75                     rts
  8941. label00005ACC:
  8942. 00005ACC  0C5A 5C88                cmpi.w     [A2]+, 0x5C88
  8943. 00005AD0  6708                     beq        +0xA /* 00005ADA */
  8944. 00005AD2  91C8                     sub.l      A0, A0
  8945. 00005AD4  4CDF 0C00                movem.l    A2,A3, [A7]+
  8946. 00005AD8  4E75                     rts
  8947. label00005ADA:
  8948. 00005ADA  0C5A 2D48                cmpi.w     [A2]+, 0x2D48 /* '-H' */
  8949. 00005ADE  6708                     beq        +0xA /* 00005AE8 */
  8950. 00005AE0  91C8                     sub.l      A0, A0
  8951. 00005AE2  4CDF 0C00                movem.l    A2,A3, [A7]+
  8952. 00005AE6  4E75                     rts
  8953. label00005AE8:
  8954. 00005AE8  7000                     moveq.l    D0, 0x00
  8955. 00005AEA  301A                     move.w     D0, [A2]+
  8956. 00005AEC  0C80 0000 FFFC           cmpi.l     D0, 0xFFFC
  8957. 00005AF2  6708                     beq        +0xA /* 00005AFC */
  8958. 00005AF4  91C8                     sub.l      A0, A0
  8959. 00005AF6  4CDF 0C00                movem.l    A2,A3, [A7]+
  8960. 00005AFA  4E75                     rts
  8961. label00005AFC:
  8962. 00005AFC  0C5A 45EE                cmpi.w     [A2]+, 0x45EE
  8963. 00005B00  6708                     beq        +0xA /* 00005B0A */
  8964. 00005B02  91C8                     sub.l      A0, A0
  8965. 00005B04  4CDF 0C00                movem.l    A2,A3, [A7]+
  8966. 00005B08  4E75                     rts
  8967. label00005B0A:
  8968. 00005B0A  7000                     moveq.l    D0, 0x00
  8969. 00005B0C  301A                     move.w     D0, [A2]+
  8970. 00005B0E  0C80 0000 FFF6           cmpi.l     D0, 0xFFF6
  8971. 00005B14  6708                     beq        +0xA /* 00005B1E */
  8972. 00005B16  91C8                     sub.l      A0, A0
  8973. 00005B18  4CDF 0C00                movem.l    A2,A3, [A7]+
  8974. 00005B1C  4E75                     rts
  8975. label00005B1E:
  8976. 00005B1E  0C5A 224A                cmpi.w     [A2]+, 0x224A /* '\"J' */
  8977. 00005B22  6708                     beq        +0xA /* 00005B2C */
  8978. 00005B24  91C8                     sub.l      A0, A0
  8979. 00005B26  4CDF 0C00                movem.l    A2,A3, [A7]+
  8980. 00005B2A  4E75                     rts
  8981. label00005B2C:
  8982. 00005B2C  0C5A 7006                cmpi.w     [A2]+, 0x7006
  8983. 00005B30  6708                     beq        +0xA /* 00005B3A */
  8984. 00005B32  91C8                     sub.l      A0, A0
  8985. 00005B34  4CDF 0C00                movem.l    A2,A3, [A7]+
  8986. 00005B38  4E75                     rts
  8987. label00005B3A:
  8988. 00005B3A  7000                     moveq.l    D0, 0x00
  8989. 00005B3C  301A                     move.w     D0, [A2]+
  8990. 00005B3E  0C80 0000 A22E           cmpi.l     D0, 0xA22E
  8991. 00005B44  6708                     beq        +0xA /* 00005B4E */
  8992. 00005B46  91C8                     sub.l      A0, A0
  8993. 00005B48  4CDF 0C00                movem.l    A2,A3, [A7]+
  8994. 00005B4C  4E75                     rts
  8995. label00005B4E:
  8996. 00005B4E  0C5A 41EE                cmpi.w     [A2]+, 0x41EE
  8997. 00005B52  6708                     beq        +0xA /* 00005B5C */
  8998. 00005B54  91C8                     sub.l      A0, A0
  8999. 00005B56  4CDF 0C00                movem.l    A2,A3, [A7]+
  9000. 00005B5A  4E75                     rts
  9001. label00005B5C:
  9002. 00005B5C  7000                     moveq.l    D0, 0x00
  9003. 00005B5E  301A                     move.w     D0, [A2]+
  9004. 00005B60  0C80 0000 FFAA           cmpi.l     D0, 0xFFAA
  9005. 00005B66  6708                     beq        +0xA /* 00005B70 */
  9006. 00005B68  91C8                     sub.l      A0, A0
  9007. 00005B6A  4CDF 0C00                movem.l    A2,A3, [A7]+
  9008. 00005B6E  4E75                     rts
  9009. label00005B70:
  9010. 00005B70  0C5A 43F8                cmpi.w     [A2]+, 0x43F8
  9011. 00005B74  6708                     beq        +0xA /* 00005B7E */
  9012. 00005B76  91C8                     sub.l      A0, A0
  9013. 00005B78  4CDF 0C00                movem.l    A2,A3, [A7]+
  9014. 00005B7C  4E75                     rts
  9015. label00005B7E:
  9016. 00005B7E  0C5A 0DA0                cmpi.w     [A2]+, 0xDA0
  9017. 00005B82  6708                     beq        +0xA /* 00005B8C */
  9018. 00005B84  91C8                     sub.l      A0, A0
  9019. 00005B86  4CDF 0C00                movem.l    A2,A3, [A7]+
  9020. 00005B8A  4E75                     rts
  9021. label00005B8C:
  9022. 00005B8C  0C5A 20D9                cmpi.w     [A2]+, 0x20D9
  9023. 00005B90  6708                     beq        +0xA /* 00005B9A */
  9024. 00005B92  91C8                     sub.l      A0, A0
  9025. 00005B94  4CDF 0C00                movem.l    A2,A3, [A7]+
  9026. 00005B98  4E75                     rts
  9027. label00005B9A:
  9028. 00005B9A  0C5A 30D9                cmpi.w     [A2]+, 0x30D9
  9029. 00005B9E  6708                     beq        +0xA /* 00005BA8 */
  9030. 00005BA0  91C8                     sub.l      A0, A0
  9031. 00005BA2  4CDF 0C00                movem.l    A2,A3, [A7]+
  9032. 00005BA6  4E75                     rts
  9033. label00005BA8:
  9034. 00005BA8  0C5A 486E                cmpi.w     [A2]+, 0x486E /* 'Hn' */
  9035. 00005BAC  6708                     beq        +0xA /* 00005BB6 */
  9036. 00005BAE  91C8                     sub.l      A0, A0
  9037. 00005BB0  4CDF 0C00                movem.l    A2,A3, [A7]+
  9038. 00005BB4  4E75                     rts
  9039. label00005BB6:
  9040. 00005BB6  7000                     moveq.l    D0, 0x00
  9041. 00005BB8  301A                     move.w     D0, [A2]+
  9042. 00005BBA  0C80 0000 FFAA           cmpi.l     D0, 0xFFAA
  9043. 00005BC0  6708                     beq        +0xA /* 00005BCA */
  9044. 00005BC2  91C8                     sub.l      A0, A0
  9045. 00005BC4  4CDF 0C00                movem.l    A2,A3, [A7]+
  9046. 00005BC8  4E75                     rts
  9047. label00005BCA:
  9048. 00005BCA  7000                     moveq.l    D0, 0x00
  9049. 00005BCC  301A                     move.w     D0, [A2]+
  9050. 00005BCE  0C80 0000 AA22           cmpi.l     D0, 0xAA22
  9051. 00005BD4  6708                     beq        +0xA /* 00005BDE */
  9052. 00005BD6  91C8                     sub.l      A0, A0
  9053. 00005BD8  4CDF 0C00                movem.l    A2,A3, [A7]+
  9054. 00005BDC  4E75                     rts
  9055. label00005BDE:
  9056. 00005BDE  0C5A 2F0C                cmpi.w     [A2]+, 0x2F0C
  9057. 00005BE2  6708                     beq        +0xA /* 00005BEC */
  9058. 00005BE4  91C8                     sub.l      A0, A0
  9059. 00005BE6  4CDF 0C00                movem.l    A2,A3, [A7]+
  9060. 00005BEA  4E75                     rts
  9061. label00005BEC:
  9062. 00005BEC  7000                     moveq.l    D0, 0x00
  9063. 00005BEE  301A                     move.w     D0, [A2]+
  9064. 00005BF0  0C80 0000 A8A4           cmpi.l     D0, 0xA8A4
  9065. 00005BF6  6708                     beq        +0xA /* 00005C00 */
  9066. 00005BF8  91C8                     sub.l      A0, A0
  9067. 00005BFA  4CDF 0C00                movem.l    A2,A3, [A7]+
  9068. 00005BFE  4E75                     rts
  9069. label00005C00:
  9070. 00005C00  0C5A 43EE                cmpi.w     [A2]+, 0x43EE
  9071. 00005C04  6708                     beq        +0xA /* 00005C0E */
  9072. 00005C06  91C8                     sub.l      A0, A0
  9073. 00005C08  4CDF 0C00                movem.l    A2,A3, [A7]+
  9074. 00005C0C  4E75                     rts
  9075. label00005C0E:
  9076. 00005C0E  7000                     moveq.l    D0, 0x00
  9077. 00005C10  301A                     move.w     D0, [A2]+
  9078. 00005C12  0C80 0000 FFF6           cmpi.l     D0, 0xFFF6
  9079. 00005C18  6708                     beq        +0xA /* 00005C22 */
  9080. 00005C1A  91C8                     sub.l      A0, A0
  9081. 00005C1C  4CDF 0C00                movem.l    A2,A3, [A7]+
  9082. 00005C20  4E75                     rts
  9083. label00005C22:
  9084. 00005C22  0C5A 2049                cmpi.w     [A2]+, 0x2049 /* ' I' */
  9085. 00005C26  6708                     beq        +0xA /* 00005C30 */
  9086. 00005C28  91C8                     sub.l      A0, A0
  9087. 00005C2A  4CDF 0C00                movem.l    A2,A3, [A7]+
  9088. 00005C2E  4E75                     rts
  9089. label00005C30:
  9090. 00005C30  0C5A 226E                cmpi.w     [A2]+, 0x226E /* '\"n' */
  9091. 00005C34  6708                     beq        +0xA /* 00005C3E */
  9092. 00005C36  91C8                     sub.l      A0, A0
  9093. 00005C38  4CDF 0C00                movem.l    A2,A3, [A7]+
  9094. 00005C3C  4E75                     rts
  9095. label00005C3E:
  9096. 00005C3E  7000                     moveq.l    D0, 0x00
  9097. 00005C40  301A                     move.w     D0, [A2]+
  9098. 00005C42  0C80 0000 FFFC           cmpi.l     D0, 0xFFFC
  9099. 00005C48  6708                     beq        +0xA /* 00005C52 */
  9100. 00005C4A  91C8                     sub.l      A0, A0
  9101. 00005C4C  4CDF 0C00                movem.l    A2,A3, [A7]+
  9102. 00005C50  4E75                     rts
  9103. label00005C52:
  9104. 00005C52  0C5A 7006                cmpi.w     [A2]+, 0x7006
  9105. 00005C56  6708                     beq        +0xA /* 00005C60 */
  9106. 00005C58  91C8                     sub.l      A0, A0
  9107. 00005C5A  4CDF 0C00                movem.l    A2,A3, [A7]+
  9108. 00005C5E  4E75                     rts
  9109. label00005C60:
  9110. 00005C60  7000                     moveq.l    D0, 0x00
  9111. 00005C62  3012                     move.w     D0, [A2]
  9112. 00005C64  0C80 0000 A22E           cmpi.l     D0, 0xA22E
  9113. 00005C6A  6708                     beq        +0xA /* 00005C74 */
  9114. 00005C6C  91C8                     sub.l      A0, A0
  9115. 00005C6E  4CDF 0C00                movem.l    A2,A3, [A7]+
  9116. 00005C72  4E75                     rts
  9117. label00005C74:
  9118. 00005C74  34BC 4E71                move.w     [A2], 0x4E71 /* 'Nq' */
  9119. 00005C78  2F3C 0001 0001           move.l     -[A7], 0x10001
  9120. 00005C7E  4EAD DDB0                jsr        [A5 - 0x2250]
  9121. 00005C82  204B                     movea.l    A0, A3
  9122. 00005C84  584F                     addq.w     A7, 4
  9123. 00005C86  4CDF 0C00                movem.l    A2,A3, [A7]+
  9124. 00005C8A  4E75                     rts
  9125. fn00005C8C:
  9126. 00005C8C  2F0A                     move.l     -[A7], A2
  9127. 00005C8E  594F                     subq.w     A7, 4
  9128. 00005C90  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  9129. 00005C94  4E90                     jsr        [A0]
  9130. 00005C96  205F                     movea.l    A0, [A7]+
  9131. 00005C98  2448                     movea.l    A2, A0
  9132. 00005C9A  202F 0008                move.l     D0, [A7 + 0x8]
  9133. 00005C9E  5380                     subq.l     D0, 1
  9134. 00005CA0  6706                     beq        +0x8 /* 00005CA8 */
  9135. 00005CA2  5380                     subq.l     D0, 1
  9136. 00005CA4  6708                     beq        +0xA /* 00005CAE */
  9137. 00005CA6  6018                     bra        +0x1A /* 00005CC0 */
  9138. label00005CA8:
  9139. 00005CA8  4EAD E868                jsr        [A5 - 0x1798]
  9140. 00005CAC  601C                     bra        +0x1E /* 00005CCA */
  9141. label00005CAE:
  9142. 00005CAE  302D B48C                move.w     D0, [A5 - 0x4B74]
  9143. 00005CB2  57C0                     seq        D0
  9144. 00005CB4  4400                     neg.b      D0
  9145. 00005CB6  4880                     ext.w      D0
  9146. 00005CB8  48C0                     ext.l      D0
  9147. 00005CBA  3B40 B48C                move.w     [A5 - 0x4B74], D0
  9148. 00005CBE  600A                     bra        +0xC /* 00005CCA */
  9149. label00005CC0:
  9150. 00005CC0  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  9151. 00005CC4  4EAD E4F0                jsr        [A5 - 0x1B10]
  9152. 00005CC8  584F                     addq.w     A7, 4
  9153. label00005CCA:
  9154. 00005CCA  245F                     movea.l    A2, [A7]+
  9155. 00005CCC  4E75                     rts
  9156. fn00005CCE:
  9157. 00005CCE  4FEF FEC2                lea.l      A7, [A7 - 0x13E]
  9158. 00005CD2  4878 003E                push.l     0x3E /* '>' */
  9159. 00005CD6  42A7                     clr.l      -[A7]
  9160. 00005CD8  486F 0108                pea.l      [A7 + 0x108]
  9161. 00005CDC  4EAD D94C                jsr        [A5 - 0x26B4]
  9162. 00005CE0  41EF 000C                lea.l      A0, [A7 + 0xC]
  9163. 00005CE4  2F48 011E                move.l     [A7 + 0x11E], A0
  9164. 00005CE8  A994                     syscall    CurResFile
  9165. 00005CEA  301F                     move.w     D0, [A7]+
  9166. 00005CEC  3F40 0122                move.w     [A7 + 0x122], D0
  9167. 00005CF0  41EF 010A                lea.l      A0, [A7 + 0x10A]
  9168. 00005CF4  7008                     moveq.l    D0, 0x08
  9169. 00005CF6  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  9170. 00005CF8  4A40                     tst.w      D0
  9171. 00005CFA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9172. 00005CFE  670C                     beq        +0xE /* 00005D0C */
  9173. 00005D00  3B7C FFFF 8A28           move.w     [A5 - 0x75D8], 0xFFFF
  9174. 00005D06  7002                     moveq.l    D0, 0x02
  9175. 00005D08  2B40 8A22                move.l     [A5 - 0x75DE], D0
  9176. label00005D0C:
  9177. 00005D0C  3B6F 0134 8A28           move.w     [A5 - 0x75D8], [A7 + 0x134]
  9178. 00005D12  2B6F 013A 8A22           move.l     [A5 - 0x75DE], [A7 + 0x13A]
  9179. 00005D18  4AAD 132E                tst.l      [A5 + 0x132E]
  9180. 00005D1C  6720                     beq        +0x22 /* 00005D3E */
  9181. 00005D1E  554F                     subq.w     A7, 2
  9182. 00005D20  3F3C 8000                move.w     -[A7], 0x8000
  9183. 00005D24  2F3C 7465 6D70           move.l     -[A7], 0x74656D70 /* 'temp' */
  9184. 00005D2A  1F3C 0001                move.b     -[A7], 0x1
  9185. 00005D2E  486D 8A26                pea.l      [A5 - 0x75DA]
  9186. 00005D32  486D 8A1E                pea.l      [A5 - 0x75E2]
  9187. 00005D36  4EAD DA2A                jsr        [A5 - 0x25D6]
  9188. 00005D3A  301F                     move.w     D0, [A7]+
  9189. 00005D3C  670C                     beq        +0xE /* 00005D4A */
  9190. label00005D3E:
  9191. 00005D3E  3B6D 8A28 8A26           move.w     [A5 - 0x75DA], [A5 - 0x75D8]
  9192. 00005D44  2B6D 8A22 8A1E           move.l     [A5 - 0x75E2], [A5 - 0x75DE]
  9193. label00005D4A:
  9194. 00005D4A  4FEF 013E                lea.l      A7, [A7 + 0x13E]
  9195. 00005D4E  4E75                     rts
  9196. fn00005D50:
  9197. 00005D50  2F0A                     move.l     -[A7], A2
  9198. 00005D52  4FEF FF00                lea.l      A7, [A7 - 0x100]
  9199. 00005D56  0C6F 0001 0108           cmpi.w     [A7 + 0x108], 0x1
  9200. 00005D5C  661C                     bne        +0x1E /* 00005D7A */
  9201. 00005D5E  302F 010A                move.w     D0, [A7 + 0x10A]
  9202. 00005D62  0280 0000 0800           andi.l     D0, 0x800
  9203. 00005D68  56C0                     sne        D0
  9204. 00005D6A  4400                     neg.b      D0
  9205. 00005D6C  4880                     ext.w      D0
  9206. 00005D6E  48C0                     ext.l      D0
  9207. 00005D70  2F00                     move.l     -[A7], D0
  9208. 00005D72  4EAD DB6E                jsr        [A5 - 0x2492]
  9209. 00005D76  584F                     addq.w     A7, 4
  9210. 00005D78  6028                     bra        +0x2A /* 00005DA2 */
  9211. label00005D7A:
  9212. 00005D7A  2F2D 8862                move.l     -[A7], [A5 - 0x779E]
  9213. 00005D7E  42A7                     clr.l      -[A7]
  9214. 00005D80  4EBA CC82                jsr        [PC - 0x337E /* 00002A04 */]
  9215. 00005D84  2448                     movea.l    A2, A0
  9216. 00005D86  200A                     move.l     D0, A2
  9217. 00005D88  504F                     addq.w     A7, 8
  9218. 00005D8A  6716                     beq        +0x18 /* 00005DA2 */
  9219. 00005D8C  2F0A                     move.l     -[A7], A2
  9220. 00005D8E  3F2F 010C                move.w     -[A7], [A7 + 0x10C]
  9221. 00005D92  486F 0006                pea.l      [A7 + 0x6]
  9222. 00005D96  A946                     syscall    GetMenuItemText/GetItem
  9223. 00005D98  554F                     subq.w     A7, 2
  9224. 00005D9A  486F 0002                pea.l      [A7 + 0x2]
  9225. 00005D9E  A9B6                     syscall    OpenDeskAcc
  9226. 00005DA0  301F                     move.w     D0, [A7]+
  9227. label00005DA2:
  9228. 00005DA2  4FEF 0100                lea.l      A7, [A7 + 0x100]
  9229. 00005DA6  245F                     movea.l    A2, [A7]+
  9230. 00005DA8  4E75                     rts
  9231. fn00005DAA:
  9232. 00005DAA  302F 0004                move.w     D0, [A7 + 0x4]
  9233. 00005DAE  48C0                     ext.l      D0
  9234. 00005DB0  0C80 0000 0008           cmpi.l     D0, 0x8
  9235. 00005DB6  6258                     bhi        +0x5A /* 00005E10 */
  9236. 00005DB8  D040                     add.w      D0, D0
  9237. 00005DBA  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  9238. 00005DBE  4EFB 0002                jmp        [PC + D0.w + 0x2]
  9239. 00005DC2  004E 0012                ori.w      A6, 0x12
  9240. 00005DC6  0018 004E                ori.b      [A0]+, 0x4E /* 'N' */
  9241. 00005DCA  002C 002C 002C           ori.b      [A4 + 0x2C], 0x2C /* ',' */
  9242. 00005DD0  004E 0048                ori.w      A6, 0x48 /* 'H' */
  9243. 00005DD4  4EBA F614                jsr        [PC - 0x9EC /* 000053EA */]
  9244. 00005DD8  6036                     bra        +0x38 /* 00005E10 */
  9245. 00005DDA  594F                     subq.w     A7, 4
  9246. 00005DDC  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  9247. 00005DE0  4E90                     jsr        [A0]
  9248. 00005DE2  205F                     movea.l    A0, [A7]+
  9249. 00005DE4  2F08                     move.l     -[A7], A0
  9250. 00005DE6  4EAD E780                jsr        [A5 - 0x1880]
  9251. 00005DEA  584F                     addq.w     A7, 4
  9252. 00005DEC  6022                     bra        +0x24 /* 00005E10 */
  9253. 00005DEE  42A7                     clr.l      -[A7]
  9254. 00005DF0  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  9255. 00005DF4  594F                     subq.w     A7, 4
  9256. 00005DF6  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  9257. 00005DFA  4E90                     jsr        [A0]
  9258. 00005DFC  205F                     movea.l    A0, [A7]+
  9259. 00005DFE  2F08                     move.l     -[A7], A0
  9260. 00005E00  4EAD E850                jsr        [A5 - 0x17B0]
  9261. 00005E04  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9262. 00005E08  6006                     bra        +0x8 /* 00005E10 */
  9263. 00005E0A  4267                     clr.w      -[A7]
  9264. 00005E0C  4EAD DF88                jsr        [A5 - 0x2078]
  9265. label00005E10:
  9266. 00005E10  4E75                     rts
  9267. fn00005E12:
  9268. 00005E12  2F03                     move.l     -[A7], D3
  9269. 00005E14  4FEF FF68                lea.l      A7, [A7 - 0x98]
  9270. 00005E18  4878 0050                push.l     0x50 /* 'P' */
  9271. 00005E1C  42A7                     clr.l      -[A7]
  9272. 00005E1E  486F 0050                pea.l      [A7 + 0x50]
  9273. 00005E22  4EAD D94C                jsr        [A5 - 0x26B4]
  9274. 00005E26  3F6D 8A28 006A           move.w     [A7 + 0x6A], [A5 - 0x75D8]
  9275. 00005E2C  41EF 000E                lea.l      A0, [A7 + 0xE]
  9276. 00005E30  5C88                     addq.l     A0, 6
  9277. 00005E32  2F48 0066                move.l     [A7 + 0x66], A0
  9278. 00005E36  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9279. label00005E3A:
  9280. 00005E3A  2F6D 8A22 0078           move.l     [A7 + 0x78], [A5 - 0x75DE]
  9281. 00005E40  526F 0064                addq.w     [A7 + 0x64], 1
  9282. 00005E44  41EF 0048                lea.l      A0, [A7 + 0x48]
  9283. 00005E48  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  9284. 00005E4A  3600                     move.w     D3, D0
  9285. 00005E4C  660A                     bne        +0xC /* 00005E58 */
  9286. 00005E4E  0CAF 414C 5476 0068      cmpi.l     [A7 + 0x68], 0x414C5476 /* 'ALTv' */
  9287. 00005E56  6704                     beq        +0x6 /* 00005E5C */
  9288. label00005E58:
  9289. 00005E58  4A43                     tst.w      D3
  9290. 00005E5A  67DE                     beq        -0x20 /* 00005E3A */
  9291. label00005E5C:
  9292. 00005E5C  3F6D 8A28 0002           move.w     [A7 + 0x2], [A5 - 0x75D8]
  9293. 00005E62  2F6D 8A22 0004           move.l     [A7 + 0x4], [A5 - 0x75DE]
  9294. 00005E68  4AAD 1326                tst.l      [A5 + 0x1326]
  9295. 00005E6C  671E                     beq        +0x20 /* 00005E8C */
  9296. 00005E6E  4A43                     tst.w      D3
  9297. 00005E70  661A                     bne        +0x1C /* 00005E8C */
  9298. 00005E72  554F                     subq.w     A7, 2
  9299. 00005E74  486F 0004                pea.l      [A7 + 0x4]
  9300. 00005E78  1F3C 0001                move.b     -[A7], 0x1
  9301. 00005E7C  486F 0009                pea.l      [A7 + 0x9]
  9302. 00005E80  486F 000C                pea.l      [A7 + 0xC]
  9303. 00005E84  700C                     moveq.l    D0, 0x0C
  9304. 00005E86  A823                     syscall    AliasDispatch
  9305. 00005E88  301F                     move.w     D0, [A7]+
  9306. 00005E8A  3600                     move.w     D3, D0
  9307. label00005E8C:
  9308. 00005E8C  4A43                     tst.w      D3
  9309. 00005E8E  661A                     bne        +0x1C /* 00005EAA */
  9310. 00005E90  42A7                     clr.l      -[A7]
  9311. 00005E92  42A7                     clr.l      -[A7]
  9312. 00005E94  4878 0001                push.l     0x1
  9313. 00005E98  4878 0001                push.l     0x1
  9314. 00005E9C  486F 0012                pea.l      [A7 + 0x12]
  9315. 00005EA0  4EBA F126                jsr        [PC - 0xEDA /* 00004FC8 */]
  9316. 00005EA4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9317. 00005EA8  6018                     bra        +0x1A /* 00005EC2 */
  9318. label00005EAA:
  9319. 00005EAA  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  9320. 00005EAE  A9C8                     syscall    SysBeep
  9321. 00005EB0  42A7                     clr.l      -[A7]
  9322. 00005EB2  42A7                     clr.l      -[A7]
  9323. 00005EB4  42A7                     clr.l      -[A7]
  9324. 00005EB6  3F3C 008A                move.w     -[A7], 0x8A
  9325. 00005EBA  4EAD DEB0                jsr        [A5 - 0x2150]
  9326. 00005EBE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9327. label00005EC2:
  9328. 00005EC2  4FEF 0098                lea.l      A7, [A7 + 0x98]
  9329. 00005EC6  261F                     move.l     D3, [A7]+
  9330. 00005EC8  4E75                     rts
  9331. 00005ECA  0000 0000                ori.b      D0, 0x0
  9332. 00005ECE  0000 0000                ori.b      D0, 0x0
  9333. 00005ED2  0000 0000                ori.b      D0, 0x0
  9334.